public static interface AttitudesSequence.SwitchHandler
This interface is intended to be implemented by users who want to be notified when an attitude switch occurs.
Modifier and Type | Method and Description |
---|---|
void |
switchOccurred(AttitudeProvider preceding,
AttitudeProvider following,
SpacecraftState state)
Method called when attitude is switched from one law to another law.
|
void switchOccurred(AttitudeProvider preceding, AttitudeProvider following, SpacecraftState state)
preceding
- attitude law used preceding the switch (i.e. in the past
of the switch event for a forward propagation, or in the future
of the switch event for a backward propagation)following
- attitude law used following the switch (i.e. in the future
of the switch event for a forward propagation, or in the past
of the switch event for a backward propagation)state
- state at switch time (with attitude computed using the preceding
law)Copyright © 2002-2022 CS GROUP. All rights reserved.