Optimizer.AddPhaseLinkByIndices(TrajectoryPhase, TrajectoryPhase, Array) Method

Top 

Description

Links the last node of the first phase with the first node of the second phase across the variables indicated by the passed indices.

 

Indices:0 : x position

1 : y position

2 : z position

3 : x velocity

4 : y velocity

5 : z velocity

6 : mass

7 : epoch

Linking control variables is not allowed.

 

This method adds constraint(s) to the optimization problem to ensure that the phases are continuous.

 

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

Optimizer.AddPhaseLinkByIndices(

TrajectoryPhase trajectoryPhase1,


TrajectoryPhase trajectoryPhase2,


Array indices)

 

 

Arguments

trajectoryPhase1


Description:

The first trajectory phase.

 

 

trajectoryPhase2


Description:

The second trajectory phase.

 

 

indices


Description:

The indices of the variables to link the phases across.

Required Size:

1 to 8

 

 

 

Syntax

myOptimizer1.AddPhaseLinkByIndices(myTrajectoryPhase1, myTrajectoryPhase2, myArray1);

 

 

See also

Optimizer Object

Optimizer.AddPhaseLinkByIndices