public class CustomLocalTimeDetector extends fr.cnes.sirius.patrius.propagation.events.LocalTimeAngleDetector implements CustomEventDetector
Modifier and Type | Field and Description |
---|---|
static String |
LTM_DEC_STR
Coding message.
|
static String |
LTM_INC_STR
Coding message.
|
Constructor and Description |
---|
CustomLocalTimeDetector(double localTime)
Constructor with target local time and body shape. maxCheck (600 s), threshold (1.0e-6 s) and
action (RESET_STATE) by default.
|
CustomLocalTimeDetector(double localTime,
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() |
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, getAction, getTime, init, setPropagationDelayType
getActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setEpsilonSignalPropagation, setMaxCheckInterval, shouldBeRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAction
public static final String LTM_INC_STR
public static final String LTM_DEC_STR
public CustomLocalTimeDetector(double localTime) throws fr.cnes.sirius.patrius.utils.exception.PatriusException, ArithmeticException
localTime
- satellite local time triggering the event (rad).fr.cnes.sirius.patrius.utils.exception.PatriusException
- error when loading the ephemeris filesArithmeticException
- if there is a problem building the Sun body.public CustomLocalTimeDetector(double localTime, double maxCheck, double threshold, fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action) throws fr.cnes.sirius.patrius.utils.exception.PatriusException, ArithmeticException
localTime
- satellite local time triggering the event (rad).maxCheck
- maximum checking interval (s).threshold
- convergence threshold (s).action
- action to be performed in case of event detection.fr.cnes.sirius.patrius.utils.exception.PatriusException
- error when loading the ephemeris filesArithmeticException
- if there is a problem building the Sun body.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.LocalTimeAngleDetector
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.