public class CustomEclipseDetector extends fr.cnes.sirius.patrius.events.detectors.EclipseDetector implements CustomEventDetector
fr.cnes.sirius.patrius.events.detectors.AbstractSignalPropagationDetector.EventDatationType, fr.cnes.sirius.patrius.events.detectors.AbstractSignalPropagationDetector.PropagationDelayType| Modifier and Type | Field and Description |
|---|---|
static String |
ECL_DEC_STR
Coding message.
|
static String |
ECL_INC_STR
Coding message.
|
ENTRY, ENTRY_EXIT, EXIT| Constructor and Description |
|---|
CustomEclipseDetector(int slopeSelection,
double occultingBodyRadius)
Constructor with target eclipse and trigger.
|
CustomEclipseDetector(int slopeSelection,
double occultingBodyRadius,
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.
|
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 generic coding event detectors for a given increasing and decreasing messages.
|
double |
getOccultingBodyRadius()
Getter for the occulting body radius (the Earth).
|
fr.cnes.sirius.patrius.propagation.SpacecraftState |
resetState(fr.cnes.sirius.patrius.propagation.SpacecraftState oldState) |
String |
toString() |
eventOccurred, g, getEmitter, getEventDatationType, getOcculted, getOccultedDirection, getOccultedRadius, getOcculting, getOccultingRadiusProvider, getReceiver, isInEclipse, isTotalEclipse, setPropagationDelayTypegetEpsilonSignalPropagation, getInertialFrame, getLinkTypeHandler, getMaxIterSignalPropagation, getOtherDate, getPropagationDelayType, getSignalEmissionDate, getSignalEmissionDate, getSignalReceptionDate, getSignalReceptionDate, setEpsilonSignalPropagation, setMaxIterSignalPropagationfilterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, setMaxCheckInterval, setMaxIter, shouldBeRemovedpublic static final String ECL_INC_STR
public static final String ECL_DEC_STR
public CustomEclipseDetector(int slopeSelection,
double occultingBodyRadius)
throws ArithmeticException
slopeSelection - slope selectionoccultingBodyRadius - the occulting body radius (m)ArithmeticException - if occultingBodyRadius is NaN.public CustomEclipseDetector(int slopeSelection,
double occultingBodyRadius,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.events.EventDetector.Action action)
throws ArithmeticException
slopeSelection - slope selectionoccultingBodyRadius - the occulting body radius (m)maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.ArithmeticException - if occultingBodyRadius is NaN.public double getOccultingBodyRadius()
public fr.cnes.sirius.patrius.events.EventDetector.Action getAction()
getAction in interface CustomEventDetectorpublic fr.cnes.sirius.patrius.propagation.SpacecraftState resetState(fr.cnes.sirius.patrius.propagation.SpacecraftState oldState)
resetState in interface fr.cnes.sirius.patrius.events.EventDetectorresetState in class fr.cnes.sirius.patrius.events.AbstractDetectorpublic fr.cnes.sirius.patrius.events.EventDetector copy()
copy in interface fr.cnes.sirius.patrius.events.EventDetectorcopy in class fr.cnes.sirius.patrius.events.detectors.EclipseDetectorpublic fr.cnes.sirius.patrius.events.postprocessing.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector in interface CustomEventDetectorincEventString - message for the log when the detector is triggered with increasing g
functiondecEventString - message for the 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.