public final class CenteredAolPassageDetector extends AbstractDetector
EventDetector.ActionactionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_MAXITER, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
CenteredAolPassageDetector(double aol,
PositionAngle positionAngle,
MeanOsculatingElementsProvider provider,
Frame frame)
Constructor
|
CenteredAolPassageDetector(double aol,
PositionAngle positionAngle,
MeanOsculatingElementsProvider provider,
Frame frame,
double maxCheck,
double threshold)
Constructor with complementary parameters
|
CenteredAolPassageDetector(double aol,
PositionAngle positionAngle,
MeanOsculatingElementsProvider provider,
Frame frame,
double maxCheck,
double threshold,
EventDetector.Action action)
Constructor with complementary parameters
|
| Modifier and Type | Method and Description |
|---|---|
Orbit |
centeredToOsculating(CircularOrbit centeredOrbit)
Get osculating
CircularOrbit from centered counterpart |
EventDetector |
copy()
A copy of the detector.
|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle an event and choose what to do next.
|
double |
g(SpacecraftState s)
Compute the value of the switching function.
|
filterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedpublic CenteredAolPassageDetector(double aol,
PositionAngle positionAngle,
MeanOsculatingElementsProvider provider,
Frame frame)
throws PatriusException
aol - Centered AOL [rad] triggering the eventpositionAngle - Anomaly typeprovider - Converter from orbit osculating elements to mean elementsframe - the patrius framePatriusException - Possible exceptionpublic CenteredAolPassageDetector(double aol,
PositionAngle positionAngle,
MeanOsculatingElementsProvider provider,
Frame frame,
double maxCheck,
double threshold)
throws PatriusException
aol - Centered AOL [rad] triggering the eventpositionAngle - Anomaly typeprovider - Converter from orbit osculating elements to mean elementsframe - the patrius framemaxCheck - Maximum check (see AbstractDetector)threshold - Threshold (see AbstractDetector)PatriusException - Possible exceptionpublic CenteredAolPassageDetector(double aol,
PositionAngle positionAngle,
MeanOsculatingElementsProvider provider,
Frame frame,
double maxCheck,
double threshold,
EventDetector.Action action)
aol - Centered AOL [rad triggering the eventpositionAngle - Anomaly typeprovider - Converter from orbit osculating elements to mean elementsframe - the patrius framemaxCheck - Maximum check (see AbstractDetector)threshold - Threshold (see AbstractDetector)action - Action to do when event is detectedPatriusException - Possible exceptionpublic final EventDetector.Action eventOccurred(SpacecraftState s, boolean increasing, boolean forward) throws PatriusException
The scheduling between this method and the PatriusStepHandler method handleStep() is to call this method first
and handleStep afterwards. This scheduling allows the propagator to pass true as the
isLast parameter to the step handler to make it aware the step will be the last one if this method
returns EventDetector.Action.STOP. As the interpolator may be used to navigate back throughout the last
step (as OrekitStepNormalizer does for example), user code called by this method and user code called by step handlers
may experience apparently out of order values of the independent time variable. As an example, if the same user
object implements both this EventDetector interface and the OrekitFixedStepHandler interface, a forward integration may call its eventOccurred method
with a state at 2000-01-01T00:00:10 first and call its handleStep method with a state at
2000-01-01T00:00:09 afterwards. Such out of order calls are limited to the size of the integration step for
variable step handlers and to the size of
the fixed step for fixed step
handlers.
eventOccurred in interface EventDetectoreventOccurred in class AbstractDetectors - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesincreasing - if true, the value of the switching function increases when times increases
around event (note that increase is measured with respect to physical time, not with
respect to propagation which may go backward in time)forward - if true, the integration variable (time) increases during integration.EventDetector.Action.STOP, EventDetector.Action.RESET_STATE,
EventDetector.Action.RESET_DERIVATIVES, EventDetector.Action.CONTINUEPatriusException - if some specific error occurspublic final double g(SpacecraftState s) throws PatriusException
g in interface EventDetectorg in class AbstractDetectors - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesPatriusException - if some specific error occurspublic Orbit centeredToOsculating(CircularOrbit centeredOrbit) throws PatriusException
CircularOrbit from centered counterpartcenteredOrbit - Centered orbitPatriusException - Possible exceptionpublic EventDetector copy()
Copyright © 2024 CNES. All rights reserved.