public class CustomNodeDetector extends fr.cnes.sirius.patrius.propagation.events.NodeDetector implements CustomEventDetector
Modifier and Type | Field and Description |
---|---|
static String |
NOD_DEC_STR
Coding message.
|
static String |
NOD_INC_STR
Coding message.
|
ASCENDING, ASCENDING_DESCENDING, DESCENDING
Constructor and Description |
---|
CustomNodeDetector(fr.cnes.sirius.patrius.frames.Frame frame,
int slopeSelection)
Constructor with target node and body shape. maxCheck (600 s), threshold (1.0e-6 s) and
action (RESET_STATE) by default.
|
CustomNodeDetector(fr.cnes.sirius.patrius.frames.Frame frame,
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, getFrame
getActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setEpsilonSignalPropagation, setMaxCheckInterval, setPropagationDelayType, shouldBeRemoved
public static final String NOD_INC_STR
public static final String NOD_DEC_STR
public CustomNodeDetector(fr.cnes.sirius.patrius.frames.Frame frame, int slopeSelection)
frame
- frame in which the equator is defined (typical values are J2000 or ITRF 2005).slopeSelection
- slope selectionpublic CustomNodeDetector(fr.cnes.sirius.patrius.frames.Frame frame, int slopeSelection, double maxCheck, double threshold, fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
frame
- frame in which the equator is defined (typical values are J2000 or ITRF 2005).slopeSelection
- slope selectionemaxCheck
- 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.NodeDetector
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.