public class CustomApsideDetector extends fr.cnes.sirius.patrius.propagation.events.ApsideDetector implements CustomEventDetector
Modifier and Type | Field and Description |
---|---|
static String |
APS_DEC_STR
Coding message.
|
static String |
APS_INC_STR
Coding message.
|
APOGEE, PERIGEE, PERIGEE_APOGEE
Constructor and Description |
---|
CustomApsideDetector(int slopeSelection)
Constructor with target apside and trigger. maxCheck (600 s), threshold (1.0e-6 s) and action
(RESET_STATE) by default.
|
CustomApsideDetector(int slopeSelection,
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.
|
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
getActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setEpsilonSignalPropagation, setMaxCheckInterval, setPropagationDelayType, shouldBeRemoved
public static final String APS_INC_STR
public static final String APS_DEC_STR
public CustomApsideDetector(int slopeSelection)
slopeSelection
- slope selectionpublic CustomApsideDetector(int slopeSelection, double maxCheck, double threshold, fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
slopeSelection
- slope selectionmaxCheck
- maximum checking interval (s).threshold
- convergence threshold (s).action
- action to be performed in case of event detection.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.ApsideDetector
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.