TrajectoryPhase.AddNode(Array, Variable, Variable, Array) Method

Top 

Description

Adds a state to the underlying TrajectoryNodes of the TrajectoryPhase using the passed position, velocity, mass, epoch, and control variables.

 

Note: the number and order of elements in the controlVariables Array must equal the number and order of control variables in the selected ControlModel. Refer to the TrajectoryPhase.ControlModel property for more information on control variables.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

TrajectoryPhase.AddNode(

Array posvel,


Variable mass,


Variable epoch,


Array controlVariables)

 

 

Arguments

posvel


Description:

An array containing the position and velocity for the new TrajectoryNode.

Required Size:

6

 

 

mass


Description:

The mass for the new TrajectoryNode.

Units:

kg

 

 

epoch


Description:

The epoch for the new TrajectoryNode.

Units:

day

 

 

controlVariables


Description:

An array containing the position and velocity for the new TrajectoryNode.

Required Size:

At least 0

 

 

 

Syntax

myTrajectoryPhase1.AddNode(myArray1, myVariable1, myVariable2, myArray2);

 

 

See also

TrajectoryPhase Object

TrajectoryPhase.AddNode