No call to init method of triggering event in ImpulseManeuver class
In ImpulseManeuver
class, the init
method does not call the init
method of the underlying triggering event.
Depending on the underlying event, this could lead to an exception (for example, with the PositionAngleDetector
used as a trigger).
By adding the call to the triggering event, everything goes fine.
/** {@inheritDoc} */
public void init(final SpacecraftState s0, final AbsoluteDate t) {
forward = t.durationFrom(s0.getDate()) >= 0;
trigger.init(s0, t);
}