public class CustomAltitudeDetector extends fr.cnes.sirius.patrius.propagation.events.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. maxCheck (600 s), threshold (1.0e-6 s) and
action (RESET_STATE) by default.
|
CustomAltitudeDetector(int slopeSelection,
double altitude,
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid bodyShape,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
Constructor with complete data.
|
Modifier and Type | Method and Description |
---|---|
fr.cnes.sirius.patrius.propagation.events.EventDetector |
copy() |
fr.cnes.sirius.patrius.propagation.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.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the coding event detector for some given increasing and decreasing messages.
|
String |
toString() |
eventOccurred, g, getAltitude
getActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setEpsilonSignalPropagation, setMaxCheckInterval, setPropagationDelayType, shouldBeRemoved
public 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.propagation.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.propagation.events.AltitudeDetector
public fr.cnes.sirius.patrius.propagation.events.EventDetector.Action getAction()
getAction
in interface CustomEventDetector
public fr.cnes.sirius.patrius.propagation.events.EventDetector copy()
copy
in interface fr.cnes.sirius.patrius.propagation.events.EventDetector
copy
in class fr.cnes.sirius.patrius.propagation.events.AltitudeDetector
public fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
CustomEventDetector
getCodingEventDetector
in interface CustomEventDetector
incEventString
- 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 CustomEventDetector
public String getCodeDec()
getCodeDec
in interface CustomEventDetector
Copyright © 2023. All rights reserved.