public class CustomVisibilityFromStationDetector extends fr.cnes.sirius.patrius.events.sensor.VisibilityFromStationDetector implements CustomEventDetector
Modifier and Type | Field and Description |
---|---|
static String |
VFS_DEC_STR
Coding message.
|
static String |
VFS_INC_STR
Coding message.
|
RAISING, RAISING_SETTING, SETTING
Constructor and Description |
---|
CustomVisibilityFromStationDetector(fr.cnes.sirius.patrius.bodies.GeodeticPoint stationGeodeticPoint,
fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid earthShape,
double halfAperture,
int slopeSelection)
Constructor with reduced data. maxCheck (600 s), threshold (1.0e-6 s) and action
(RESET_STATE) by default.
|
CustomVisibilityFromStationDetector(fr.cnes.sirius.patrius.bodies.GeodeticPoint stationGeodeticPoint,
fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid earthShape,
double halfAperture,
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.
|
fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid |
getBodyShape()
Getter for the Earth shape.
|
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, getActionAtRaising, getActionAtSetting, getStationGeodeticPoint, init, removeAtRaising, removeAtSetting, shouldBeRemoved
getCorrectedVector, getCorrection, getStation
getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, resetState
public static final String VFS_INC_STR
public static final String VFS_DEC_STR
public CustomVisibilityFromStationDetector(fr.cnes.sirius.patrius.bodies.GeodeticPoint stationGeodeticPoint, fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid earthShape, double halfAperture, int slopeSelection) throws fr.cnes.sirius.patrius.utils.exception.PatriusException, ArithmeticException
stationGeodeticPoint
- antenna station name and geodetic coordinatesearthShape
- Earth body shape (ellipsoid)halfAperture
- field of view half-apertureslopeSelection
- slope selectionfr.cnes.sirius.patrius.utils.exception.PatriusException
- error when loading the ephemeris filesArithmeticException
- if stationGeodeticPoint latitude or longitude are NaN.public CustomVisibilityFromStationDetector(fr.cnes.sirius.patrius.bodies.GeodeticPoint stationGeodeticPoint, fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid earthShape, double halfAperture, int slopeSelection, double maxCheck, double threshold, fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action) throws ArithmeticException
stationGeodeticPoint
- antenna station name and geodetic coordinatesearthShape
- Earth body shape (ellipsoid)halfAperture
- field of view half-apertureslopeSelection
- slope selectionmaxCheck
- 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 fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid getBodyShape()
getBodyShape
in class fr.cnes.sirius.patrius.events.sensor.VisibilityFromStationDetector
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.events.sensor.VisibilityFromStationDetector
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 © 2018. All rights reserved.