public class CustomAOLDetector extends fr.cnes.sirius.patrius.propagation.events.AOLDetector implements CustomEventDetector
Modifier and Type | Field and Description |
---|---|
static String |
AOL_DEC_STR
Coding message.
|
static String |
AOL_INC_STR
Coding message.
|
Constructor and Description |
---|
CustomAOLDetector(double angle,
fr.cnes.sirius.patrius.orbits.PositionAngle type,
fr.cnes.sirius.patrius.frames.Frame equator)
Constructor with target AOL, AOL type (true, mean or eccentric) and equatorial frame. maxCheck (600 s)
and threshold (1.0e-6 s) by default.
|
CustomAOLDetector(double angle,
fr.cnes.sirius.patrius.orbits.PositionAngle type,
fr.cnes.sirius.patrius.frames.Frame equator,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
Constructor with target AOL, AOL type (true, mean or eccentric) and equatorial frame. maxCheck,
threshold and action are also configurable.
|
Modifier and Type | Method and Description |
---|---|
CustomEventDetector |
copy() |
String |
getCodeDec()
Returns code on decreasing.
|
String |
getCodeInc()
Returns code on increasing.
|
fr.cnes.sirius.patrius.events.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the generic coding event detectors for a given increasing and decreasing messages.
|
String |
toString() |
eventOccurred, g, getAction, getAOL, getAOLFrame, getAOLType, init
getActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setEpsilonSignalPropagation, setMaxCheckInterval, setPropagationDelayType, shouldBeRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAction
public static final String AOL_INC_STR
public static final String AOL_DEC_STR
public CustomAOLDetector(double angle, fr.cnes.sirius.patrius.orbits.PositionAngle type, fr.cnes.sirius.patrius.frames.Frame equator)
angle
- the AOL angle to find.type
- the type of AOL angle (true, mean or eccentric).equator
- the equatorial frame with respect to which the AOL is to be computed.public CustomAOLDetector(double angle, fr.cnes.sirius.patrius.orbits.PositionAngle type, fr.cnes.sirius.patrius.frames.Frame equator, double maxCheck, double threshold, fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
angle
- the AOL angle to find.type
- the type of AOL angle (true, mean or eccentric).equator
- the equatorial frame with respect to which the AOL is to be computed.maxCheck
- maximum checking interval (s).threshold
- convergence threshold (s).action
- action to be performed in case of event detection.public CustomEventDetector copy()
copy
in interface fr.cnes.sirius.patrius.propagation.events.EventDetector
copy
in class fr.cnes.sirius.patrius.propagation.events.AOLDetector
public fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector
in interface CustomEventDetector
incEventString
- message for the log when the detector is triggered with increasing g functiondecEventString
- message for the log when the detector is triggered with decreasing g functionpublic String getCodeInc()
getCodeInc
in interface CustomEventDetector
public String getCodeDec()
getCodeDec
in interface CustomEventDetector
Copyright © 2023. All rights reserved.