public class CustomAOLDetector extends fr.cnes.sirius.patrius.propagation.events.AOLDetector implements CustomEventDetector
Modifier and Type | Field and Description |
---|---|
static String |
AOL_DEC_STR
Coding message.
|
static String |
AOL_INC_STR
Coding message.
|
Constructor and Description |
---|
CustomAOLDetector(double angle,
fr.cnes.sirius.patrius.orbits.PositionAngle type,
fr.cnes.sirius.patrius.frames.Frame equator)
Constructor with target AOL, AOL type (true, mean or eccentric) and equatorial frame. maxCheck (600 s)
and threshold (1.0e-6 s) by default.
|
CustomAOLDetector(double angle,
fr.cnes.sirius.patrius.orbits.PositionAngle type,
fr.cnes.sirius.patrius.frames.Frame equator,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
Constructor with target AOL, AOL type (true, mean or eccentric) and equatorial frame. maxCheck,
threshold and action are also configurable.
|
Modifier and Type | Method and Description |
---|---|
CustomEventDetector |
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 generic coding event detectors for a given increasing and decreasing messages.
|
String |
toString() |
eventOccurred, g, getAOL, getAOLFrame, getAOLType, init, shouldBeRemoved
getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, resetState
public static final String AOL_INC_STR
public static final String AOL_DEC_STR
public CustomAOLDetector(double angle, fr.cnes.sirius.patrius.orbits.PositionAngle type, fr.cnes.sirius.patrius.frames.Frame equator)
angle
- the AOL angle to find.type
- the type of AOL angle (true, mean or eccentric).equator
- the equatorial frame with respect to which the AOL is to be computed.public CustomAOLDetector(double angle, fr.cnes.sirius.patrius.orbits.PositionAngle type, fr.cnes.sirius.patrius.frames.Frame equator, double maxCheck, double threshold, fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
angle
- the AOL angle to find.type
- the type of AOL angle (true, mean or eccentric).equator
- the equatorial frame with respect to which the AOL is to be computed.maxCheck
- 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
getAction
in class fr.cnes.sirius.patrius.propagation.events.AOLDetector
public CustomEventDetector copy()
copy
in interface fr.cnes.sirius.patrius.propagation.events.EventDetector
copy
in class fr.cnes.sirius.patrius.propagation.events.AOLDetector
public fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector
in interface CustomEventDetector
incEventString
- 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 CustomEventDetector
public String getCodeDec()
getCodeDec
in interface CustomEventDetector
Copyright © 2018. All rights reserved.