Optimizer.AddPhasePositionLink(TrajectoryPhase, TrajectoryPhase, String, String) Method

Top 

Description

Links endpoint1 of the first phase with endpoint2 of the second phase across the position variables.

 

Note: 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.AddPhasePositionLink(

TrajectoryPhase trajectoryPhase1,


TrajectoryPhase trajectoryPhase2,


String endpoint1,


String endpoint2)

 

 

Arguments

trajectoryPhase1


Description:

The first trajectory phase.

 

 

trajectoryPhase2


Description:

The second trajectory phase.

 

 

endpoint1


Description:

The endpoint from which to link the first TrajectoryPhase.

Valid Values:

Value

Label

"first"

Links the first node of the first TrajectoryPhase.

"last"

Links the last node of the first TrajectoryPhase.

 

 

 

endpoint2


Description:

The endpoint from which to link the second TrajectoryPhase.

Valid Values:

Value

Label

"first"

Links the first node of the second TrajectoryPhase.

"last"

Links the last node of the second TrajectoryPhase.

 

 

 

 

Syntax

myOptimizer1.AddPhasePositionLink(myTrajectoryPhase1, myTrajectoryPhase2, myString1, myString2);

 

 

See also

Optimizer Object

Optimizer.AddPhasePositionLink