public class CustomAltitudeDetector extends fr.cnes.sirius.patrius.events.detectors.AltitudeDetector implements CustomEventDetector
| Modifier and Type | Field and Description |
|---|---|
static String |
ALT_DEC_STR
Coding message.
|
static String |
ALT_INC_STR
Coding message.
|
ASCENDING, ASCENDING_DESCENDING, DESCENDING| Constructor and Description |
|---|
CustomAltitudeDetector(int slopeSelection,
double altitude,
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid bodyShape)
Constructor with target altitude and body shape.
|
CustomAltitudeDetector(int slopeSelection,
double altitude,
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid bodyShape,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.events.EventDetector.Action action)
Constructor with complete data.
|
| Modifier and Type | Method and Description |
|---|---|
fr.cnes.sirius.patrius.events.EventDetector |
copy() |
fr.cnes.sirius.patrius.events.EventDetector.Action |
getAction()
Getter for the action to be performed in case of event detection.
|
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid |
getBodyShape() |
String |
getCodeDec()
Returns code on decreasing.
|
String |
getCodeInc()
Returns code on increasing.
|
fr.cnes.sirius.patrius.events.postprocessing.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the coding event detector for some given increasing and decreasing messages.
|
String |
toString() |
eventOccurred, g, getAltitudefilterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedpublic static final String ALT_INC_STR
public static final String ALT_DEC_STR
public CustomAltitudeDetector(int slopeSelection,
double altitude,
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid bodyShape)
slopeSelection - slopeSelectionaltitude - target altitude.bodyShape - central body shape.public CustomAltitudeDetector(int slopeSelection,
double altitude,
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid bodyShape,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.events.EventDetector.Action action)
slopeSelection - slopeSelectionaltitude - target altitude.bodyShape - central body shape.maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.public fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid getBodyShape()
getBodyShape in class fr.cnes.sirius.patrius.events.detectors.AltitudeDetectorpublic fr.cnes.sirius.patrius.events.EventDetector.Action getAction()
getAction in interface CustomEventDetectorpublic fr.cnes.sirius.patrius.events.EventDetector copy()
copy in interface fr.cnes.sirius.patrius.events.EventDetectorcopy in class fr.cnes.sirius.patrius.events.detectors.AltitudeDetectorpublic fr.cnes.sirius.patrius.events.postprocessing.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
CustomEventDetectorgetCodingEventDetector in interface CustomEventDetectorincEventString - message to be included at the beginning of the message log when the detector is triggered
with increasing g functiondecEventString - message to be included at the beginning of the message log when the detector is triggered
with decreasing g functionpublic String getCodeInc()
getCodeInc in interface CustomEventDetectorpublic String getCodeDec()
getCodeDec in interface CustomEventDetectorCopyright © 2025. All rights reserved.