WhileManeuvering WhileStepping order of operations
Posted: Thu May 16, 2024 3:19 am
The WhileManeuvering/WhileStepping commands allow the user to execute arbitrary FreeFlyer script while simultaneously Maneuvering/Stepping the reference spacecraft. The command will first execute the internal Maneuver/Step according to the StepSize, then execute the FreeFlyer script during each iteration.
FreeFlyer Script Example
FreeFlyer Script Example
Code: Select all
Spacecraft SC;
TimeSpan epoch = SC.Epoch;
Variable i;
Report SC.EpochText;
WhileStepping SC to (SC.Epoch >= (epoch + TimeSpan.FromSeconds(3000)));
Report i, SC.EpochText;
i++;
End;