Optimizer.AddPhaseLinkByIndices(TrajectoryPhase trajectoryPhase1, TrajectoryPhase trajectoryPhase2, Array indices)
|
None
|
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.
|
Optimizer.AddPhaseLinkByIndices(TrajectoryPhase trajectoryPhase1, TrajectoryPhase trajectoryPhase2, Array indices, String endpoint1, String endpoint2)
|
None
|
Links endpoint1 of the first phase with endpoint2 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.
|