//! Execute the solving procedure.
void ZeroRevolutionLambertTargeterIzzo::execute( )
{
    // Sanity checks
    sanityCheckTimeOfFlight( );
    sanityCheckGravitationalParameter( );

    // Transform dimensional parameters to dimensionless parameters if not done already (e.g. in
    // multirevolution case
    if( !transformed ) transformDimensions( );

    // Solve root (single rev)
    double xResult = ZeroRevolutionLambertTargeterIzzo::computeRootTimeOfFlight( );

    // Reconstruct Vs
    computeVelocities( xResult );

    solved = true;
}
Esempio n. 2
0
void URMove::update(){
    deltaTimer.tick();
    deltaTime = deltaTimer.getPeriod();
    computeVelocities();
}