public final class FlightDomainExcessDetector extends AbstractDetector
AbstractDetector.PropagationDelayType
EventDetector.Action
actionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlag
DECREASING, INCREASING, INCREASING_DECREASING
Constructor and Description |
---|
FlightDomainExcessDetector(RotationOrder order,
double[][] angMinMax,
Frame refFrame)
Constructor for an FlightDomainExcessDetector instance.
|
FlightDomainExcessDetector(RotationOrder order,
double[][] angMinMax,
Frame refFrame,
double maxCheck,
double threshold)
Constructor for an FlightDomainExcessDetector instance with complementary parameters.
|
FlightDomainExcessDetector(RotationOrder order,
double[][] angMinMax,
Frame refFrame,
double maxCheck,
double threshold,
EventDetector.Action ascending,
EventDetector.Action descending)
Constructor for an FlightDomainExcessDetector instance with complementary parameters.
|
Modifier and Type | Method and Description |
---|---|
EventDetector |
copy()
A copy of the detector.
|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle a flight domain event and choose what to do next.
|
double |
g(SpacecraftState s)
Compute the value of the switching function.
|
void |
setAttitudeRepresentedFrame(Frame desiredRepFrame,
Frame satAttFrame)
Define the frame represented by the attitude law and the desired flight domain represented frame
|
getActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setEpsilonSignalPropagation, setMaxCheckInterval, setMaxIterSignalPropagation, setPropagationDelayType, shouldBeRemoved
public FlightDomainExcessDetector(RotationOrder order, double[][] angMinMax, Frame refFrame)
order
- rotation order for euler sequence.angMinMax
- angles thresholds [min,max][1,2,3].refFrame
- reference frame with respect to which the angles are to be computedPositionAngle
public FlightDomainExcessDetector(RotationOrder order, double[][] angMinMax, Frame refFrame, double maxCheck, double threshold)
order
- rotation order for euler sequence.angMinMax
- angles thresholds [min,max][1,2,3].refFrame
- reference frame with respect to which the angles are to be computedmaxCheck
- maximum check (see AbstractDetector
)threshold
- threshold (see AbstractDetector
)public FlightDomainExcessDetector(RotationOrder order, double[][] angMinMax, Frame refFrame, double maxCheck, double threshold, EventDetector.Action ascending, EventDetector.Action descending)
order
- rotation order for euler sequence.angMinMax
- angles thresholds [min,max][1,2,3].refFrame
- reference frame with respect to which the angles are to be computedmaxCheck
- maximum check (see AbstractDetector
)threshold
- threshold (see AbstractDetector
)ascending
- action performed when ascendingdescending
- action performed when descendingpublic final EventDetector.Action eventOccurred(SpacecraftState s, boolean increasing, boolean forward) throws PatriusException
eventOccurred
in interface EventDetector
eventOccurred
in class AbstractDetector
s
- the current state information : date, kinematics, attitudeincreasing
- if true, the value of the switching function increases when times increases around eventforward
- if true, the integration variable (time) increases during integration.PatriusException
- if some specific error occurspublic final void setAttitudeRepresentedFrame(Frame desiredRepFrame, Frame satAttFrame)
desiredRepFrame
- the desired represented frame of the flight domainsatAttFrame
- the satellite attitude law framepublic final double g(SpacecraftState s) throws PatriusException
g
in interface EventDetector
g
in class AbstractDetector
s
- the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesPatriusException
- if some specific error occurspublic EventDetector copy()
Copyright © 2023 CNES. All rights reserved.