public class CustomVisibilityFromStationDetector extends fr.cnes.sirius.patrius.events.sensor.VisibilityFromStationDetector implements CustomTriggeredEventDetector
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomVisibilityFromStationDetector.VisibilityDetectionChoice
Choices for visibility from station events detection.
|
| Constructor and Description |
|---|
CustomVisibilityFromStationDetector(CustomGeodeticPoint stationGeodeticPoint,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape,
CustomVisibilityFromStationDetector.VisibilityDetectionChoice visibilityDetectorChoice,
int triggerFrom,
Integer triggerStep,
Integer triggerTo)
Constructor with reduced data. maxCheck (600 s), threshold (1.0e-6 s) and action (RESET_STATE) by
default.
|
CustomVisibilityFromStationDetector(CustomGeodeticPoint stationGeodeticPoint,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape,
CustomVisibilityFromStationDetector.VisibilityDetectionChoice visibilityDetectorChoice,
int triggerFrom,
Integer triggerStep,
Integer triggerTo,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action)
Constructor with complete data.
|
| Modifier and Type | Method and Description |
|---|---|
org.orekit.propagation.events.EventDetector |
copy()
Returns a new instance of the current type of
CustomEventDetector with the same attributes but
for the action which is set to Action#CONTINUE. |
org.orekit.propagation.events.EventDetector.Action |
eventOccurred(org.orekit.propagation.SpacecraftState s,
boolean increasing,
boolean forward) |
org.orekit.propagation.events.EventDetector.Action |
getAction()
Getter for the action to be performed in case of event detection.
|
org.orekit.bodies.ExtendedOneAxisEllipsoid |
getBodyShape()
Getter for the Earth shape.
|
fr.cnes.sirius.patrius.events.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the coding event detector for some given increasing and decreasing messages.
|
CustomGeodeticPoint |
getStationGeodeticPoint()
Getter for the station geodetic point.
|
int |
getTriggerFrom()
Getter for the count from which the event must be triggered.
|
Integer |
getTriggerStep()
Getter for the step every which the event must be triggered.
|
Integer |
getTriggerTo()
Getter for the count until which the event must be triggered.
|
CustomEventDetectorTrigger.TriggeringType |
getTriggerType()
Getter for the trigger type, that is, the slope of the switching function that must trigger the event.
|
CustomVisibilityFromStationDetector.VisibilityDetectionChoice |
getVisibilityDetectionChoice()
Getter for the visibility detector choice.
|
org.orekit.propagation.SpacecraftState |
resetState(org.orekit.propagation.SpacecraftState oldState) |
String |
toString() |
g, init, shouldBeRemovedgetCorrectedVector, getCorrection, getStationgetMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThresholdpublic CustomVisibilityFromStationDetector(CustomGeodeticPoint stationGeodeticPoint, org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape, CustomVisibilityFromStationDetector.VisibilityDetectionChoice visibilityDetectorChoice, int triggerFrom, Integer triggerStep, Integer triggerTo) throws org.orekit.errors.OrekitException, ArithmeticException
stationGeodeticPoint - antenna station name and geodetic coordinatesearthShape - Earth body shape (ellipsoid)visibilityDetectorChoice - visibility detection choicetriggerFrom - count at/from which the single/multiple event must be triggered.triggerStep - step every which the multiple event must be triggered. If null, the event will be triggered
only once at the occurrence given by triggerFrom.triggerTo - count until which the multiple event must be triggered. If null, the event will be triggered
until the end of propagation.org.orekit.errors.OrekitException - error when loading the ephemeris filesArithmeticException - if stationGeodeticPoint latitude or longitude are NaN.public CustomVisibilityFromStationDetector(CustomGeodeticPoint stationGeodeticPoint, org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape, CustomVisibilityFromStationDetector.VisibilityDetectionChoice visibilityDetectorChoice, int triggerFrom, Integer triggerStep, Integer triggerTo, double maxCheck, double threshold, org.orekit.propagation.events.EventDetector.Action action) throws ArithmeticException
stationGeodeticPoint - antenna station name and geodetic coordinatesearthShape - Earth body shape (ellipsoid)visibilityDetectorChoice - visibility detection choicetriggerFrom - count at/from which the single/multiple event must be triggered.triggerStep - step every which the multiple event must be triggered. If null, the event will be triggered
only once at the occurrence given by triggerFrom.triggerTo - count until which the multiple event must be triggered. If null, the event will be triggered
until the end of propagation.maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.ArithmeticException - if stationGeodeticPoint latitude or longitude are NaN.public CustomGeodeticPoint getStationGeodeticPoint()
public org.orekit.bodies.ExtendedOneAxisEllipsoid getBodyShape()
public CustomVisibilityFromStationDetector.VisibilityDetectionChoice getVisibilityDetectionChoice()
public int getTriggerFrom()
getTriggerFrom in interface CustomTriggeredEventDetectorpublic Integer getTriggerStep()
getTriggerStep in interface CustomTriggeredEventDetectorpublic Integer getTriggerTo()
getTriggerTo in interface CustomTriggeredEventDetectorpublic org.orekit.propagation.events.EventDetector.Action getAction()
getAction in interface CustomEventDetectorpublic org.orekit.propagation.events.EventDetector.Action eventOccurred(org.orekit.propagation.SpacecraftState s,
boolean increasing,
boolean forward)
throws org.orekit.errors.OrekitException
eventOccurred in interface org.orekit.propagation.events.EventDetectoreventOccurred in class fr.cnes.sirius.patrius.events.sensor.VisibilityFromStationDetectororg.orekit.errors.OrekitExceptionpublic org.orekit.propagation.SpacecraftState resetState(org.orekit.propagation.SpacecraftState oldState)
resetState in interface org.orekit.propagation.events.EventDetectorresetState in class org.orekit.propagation.events.AbstractDetectorpublic org.orekit.propagation.events.EventDetector copy()
CustomEventDetectorCustomEventDetector with the same attributes but
for the action which is set to Action#CONTINUE. It is intended to be used to create the
CodingEventDetector.copy in interface CustomEventDetectorAction#CONTINUEpublic fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
CustomEventDetectorgetCodingEventDetector in interface CustomEventDetectorincEventString - 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 CustomEventDetectorTrigger.TriggeringType getTriggerType()
CustomEventDetectorTrigger.TriggeringType.INCREASING for increasing slope,
CustomEventDetectorTrigger.TriggeringType.DECREASING for decreasing slope and CustomEventDetectorTrigger.TriggeringType.BOTH for increasing
or decreasing slope of the switching function.getTriggerType in interface CustomTriggeredEventDetectorCopyright © 2017. All rights reserved.