TrajectoryPhase.AddNodes(Spacecraft, Variable, Variable, Variable) Method

Top 

Description

Propagates the passed Spacecraft using its current Propagator for the passed duration and saves numberOfNodes equally spaced TrajectoryNodes during the propagation. If the resetSpacecraftState = 1, then the Spacecraft's state will be restored to its original state once this process is complete.

 

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.AddNodes(

Spacecraft spacecraft,


Variable duration,


Variable numberOfNodes,


Variable resetSpacecraft)

 

 

Arguments

spacecraft


Description:

The spacecraft to extract position, velocity, mass, and epoch from for the new TrajectoryNodes.

 

 

duration


Description:

The duration for the propagation.

Units:

day

 

 

numberOfNodes


Description:

The number of TrajectoryNodes to add.

Valid Range:

numberOfNodes ≥ 3

 

 

resetSpacecraft


Description:

Whether to return the spacecraft to its original state after adding nodes.

Valid Values:

Value

Label

0

false

1

true

 

 

 

 

Syntax

myTrajectoryPhase1.AddNodes(mySpacecraft1, myVariable1, myVariable2, myVariable3);

 

 

See also

TrajectoryPhase Object

TrajectoryPhase.AddNodes