public class StationToSatMutualVisibilityDetector extends AbstractStationToSatDetector
Mutual station to spacecraft visibility detector : the g function is positive only if the station's sensor sees the spacecraft's sensor AND the spacecraft's sensor sees the station's sensor.
The default implementation behavior is to continue propagation when entering the eclipse and to
stop propagation when exiting the eclipse. This can
be changed by using one of the provided contructors.
This detector can take into account signal propagation duration through
AbstractSignalPropagationDetector.setPropagationDelayType(PropagationDelayType, Frame) (default is signal being instantaneous).
Default linktype is VisibilityFromStationDetector.LinkType.DOWNLINK.
Assembly,
GeometricStationAntenna,
Serialized FormAbstractSignalPropagationDetector.EventDatationType, AbstractSignalPropagationDetector.PropagationDelayTypeEventDetector.ActionactionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_MAXITER, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
GeometricStationAntenna station,
AngularCorrection correctionModel,
boolean withMasking,
double maxCheck,
double threshold)
|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
GeometricStationAntenna station,
AngularCorrection correctionModel,
boolean withMasking,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit)
Constructor for the mutual station to spacecraft visibility detector
|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
GeometricStationAntenna station,
AngularCorrection correctionModel,
boolean withMasking,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit)
Constructor for the mutual station to spacecraft visibility detector
|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
GeometricStationAntenna station,
AngularCorrection correctionModel,
boolean withMasking,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit,
VisibilityFromStationDetector.LinkType linkTypeIn)
Constructor for the mutual station to spacecraft visibility detector
|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
TopocentricFrame topoFrame,
double[][] azimElevMask,
AngularCorrection correctionModel,
double maxCheck,
double threshold)
|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
TopocentricFrame topoFrame,
double[][] azimElevMask,
AngularCorrection correctionModel,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit)
Constructor for the mutual station to spacecraft visibility detector
|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
TopocentricFrame topoFrame,
double[][] azimElevMask,
AngularCorrection correctionModel,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit)
Constructor for the mutual station to spacecraft visibility detector
|
StationToSatMutualVisibilityDetector(SensorModel sensorModel1,
TopocentricFrame topoFrame,
double[][] azimElevMask,
AngularCorrection correctionModel,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit,
VisibilityFromStationDetector.LinkType linkTypeIn)
Constructor for the mutual station to spacecraft visibility detector
|
| Modifier and Type | Method and Description |
|---|---|
EventDetector |
copy()
A copy of the detector.
|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle an event and choose what to do next.
|
double |
g(SpacecraftState state)
Compute the value of the switching function.
|
void |
init(SpacecraftState s0,
AbsoluteDate t)
Initialize event handler at the start of a propagation.
|
void |
setPropagationDelayType(AbstractSignalPropagationDetector.PropagationDelayType propagationDelayType,
Frame frame)
Setter for the propagation delay computation type.
|
boolean |
shouldBeRemoved()
This method is called after
EventDetector.eventOccurred(fr.cnes.sirius.patrius.propagation.SpacecraftState, boolean, boolean) has been triggered. |
getAssembly, getCorrectedVector, getCorrection, getLinkType, getMinMaskingDistance, getSensor, getStation, isMaskingCheckgetEmitter, getEpsilonSignalPropagation, getEventDatationType, getInertialFrame, getLinkTypeHandler, getMaxIterSignalPropagation, getOtherDate, getPropagationDelayType, getReceiver, getSignalEmissionDate, getSignalEmissionDate, getSignalReceptionDate, getSignalReceptionDate, setEpsilonSignalPropagation, setMaxIterSignalPropagationfilterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIterpublic StationToSatMutualVisibilityDetector(SensorModel sensorModel1, GeometricStationAntenna station, AngularCorrection correctionModel, boolean withMasking, double maxCheck, double threshold)
The default implementation behavior is to
continue propagation when
entering the eclipse and to stop
propagation when exiting the eclipse.
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !station - the ground station sensor geometric model.correctionModel - the elevation correction model for the stationwithMasking - set true to compute maskings of each spacecrafts' sensors : in this case,
there is no visibility if one of the masking bodies of both sensors is between the
spacecraft and the station.maxCheck - maximum checking interval (s)threshold - convergence threshold (s)public StationToSatMutualVisibilityDetector(SensorModel sensorModel1, GeometricStationAntenna station, AngularCorrection correctionModel, boolean withMasking, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit)
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !station - the ground station sensor geometric model.correctionModel - the elevation correction model for the stationwithMasking - set true to compute maskings of each spacecrafts' sensors : in this case,
there is no visibility if one of the masking bodies of both sensors is between the
spacecraft and the station.maxCheck - maximum checking interval (s)threshold - convergence threshold (s)entry - action performed when entering the visibility zoneexit - action performed when exiting the visibility zonepublic StationToSatMutualVisibilityDetector(SensorModel sensorModel1, GeometricStationAntenna station, AngularCorrection correctionModel, boolean withMasking, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit, boolean removeEntry, boolean removeExit)
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !station - the ground station sensor geometric model.correctionModel - the elevation correction model for the stationwithMasking - set true to compute maskings of each spacecrafts' sensors : in this case,
there is no visibility if one of the masking bodies of both sensors is between the
spacecraft and the station.maxCheck - maximum checking interval (s)threshold - convergence threshold (s)entry - action performed when entering the visibility zoneexit - action performed when exiting the visibility zoneremoveEntry - true if detector should be removed when entering the visibility zoneremoveExit - true if detector should be removed when exiting the visibility zonepublic StationToSatMutualVisibilityDetector(SensorModel sensorModel1, GeometricStationAntenna station, AngularCorrection correctionModel, boolean withMasking, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit, boolean removeEntry, boolean removeExit, VisibilityFromStationDetector.LinkType linkTypeIn)
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !station - the ground station sensor geometric model.correctionModel - the elevation correction model for the stationwithMasking - set true to compute maskings of each spacecrafts' sensors : in this case,
there is no visibility if one of the masking bodies of both sensors is between the
spacecraft and the station.maxCheck - maximum checking interval (s)threshold - convergence threshold (s)entry - action performed when entering the visibility zoneexit - action performed when exiting the visibility zoneremoveEntry - true if detector should be removed when entering the visibility zoneremoveExit - true if detector should be removed when exiting the visibility zonelinkTypeIn - the type of link (it can be uplink or downlink). Downlink means satellite to station.public StationToSatMutualVisibilityDetector(SensorModel sensorModel1, TopocentricFrame topoFrame, double[][] azimElevMask, AngularCorrection correctionModel, double maxCheck, double threshold)
The default implementation behavior is to
continue propagation when
entering the eclipse and to stop
propagation when exiting the eclipse.
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !topoFrame - the station's topocentric frameazimElevMask - azimElevMask the azimuth - elevation mask (rad)correctionModel - the elevation correction model for the stationmaxCheck - maximum checking interval (s)threshold - convergence threshold (s)public StationToSatMutualVisibilityDetector(SensorModel sensorModel1, TopocentricFrame topoFrame, double[][] azimElevMask, AngularCorrection correctionModel, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit)
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !topoFrame - the station's topocentric frameazimElevMask - azimElevMask the azimuth - elevation mask (rad)correctionModel - the elevation correction model for the stationmaxCheck - maximum checking interval (s)threshold - convergence threshold (s)entry - action performed when entering the visibility zoneexit - action performed when exiting the visibility zonepublic StationToSatMutualVisibilityDetector(SensorModel sensorModel1, TopocentricFrame topoFrame, double[][] azimElevMask, AngularCorrection correctionModel, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit, boolean removeEntry, boolean removeExit)
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !topoFrame - the station's topocentric frameazimElevMask - azimElevMask the azimuth - elevation mask (rad)correctionModel - the elevation correction model for the stationmaxCheck - maximum checking interval (s)threshold - convergence threshold (s)entry - action performed when entering the visibility zoneexit - action performed when exiting the visibility zoneremoveEntry - true if detector should be removed when entering the visibility zoneremoveExit - true if detector should be removed when exiting the visibility zonepublic StationToSatMutualVisibilityDetector(SensorModel sensorModel1, TopocentricFrame topoFrame, double[][] azimElevMask, AngularCorrection correctionModel, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit, boolean removeEntry, boolean removeExit, VisibilityFromStationDetector.LinkType linkTypeIn)
sensorModel1 - the sensor model the main part frame of the assembly must have a parent
frame ! Make sure that the main target of this sensor model is the following station !topoFrame - the station's topocentric frameazimElevMask - azimElevMask the azimuth - elevation mask (rad)correctionModel - the elevation correction model for the stationmaxCheck - maximum checking interval (s)threshold - convergence threshold (s)entry - action performed when entering the visibility zoneexit - action performed when exiting the visibility zoneremoveEntry - true if detector should be removed when entering the visibility zoneremoveExit - true if detector should be removed when exiting the visibility zonelinkTypeIn - the type of link (it can be uplink or downlink)public void init(SpacecraftState s0, AbsoluteDate t)
This method is called once at the start of the propagation. It may be used by the event handler to initialize some internal data if needed.
init in interface EventDetectorinit in class AbstractDetectors0 - initial statet - target time for the integrationpublic EventDetector.Action eventOccurred(SpacecraftState s, boolean increasing, boolean forward) throws PatriusException
The scheduling between this method and the PatriusStepHandler method handleStep() is to call this method first
and handleStep afterwards. This scheduling allows the propagator to pass true as the
isLast parameter to the step handler to make it aware the step will be the last one if this method
returns EventDetector.Action.STOP. As the interpolator may be used to navigate back throughout the last
step (as OrekitStepNormalizer does for example), user code called by this method and user code called by step handlers
may experience apparently out of order values of the independent time variable. As an example, if the same user
object implements both this EventDetector interface and the OrekitFixedStepHandler interface, a forward integration may call its eventOccurred method
with a state at 2000-01-01T00:00:10 first and call its handleStep method with a state at
2000-01-01T00:00:09 afterwards. Such out of order calls are limited to the size of the integration step for
variable step handlers and to the size of
the fixed step for fixed step
handlers.
eventOccurred in interface EventDetectoreventOccurred in class AbstractDetectors - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesincreasing - if true, the value of the switching function increases when times increases
around event (note that increase is measured with respect to physical time, not with
respect to propagation which may go backward in time)forward - if true, the integration variable (time) increases during integration.EventDetector.Action.STOP, EventDetector.Action.RESET_STATE,
EventDetector.Action.RESET_DERIVATIVES, EventDetector.Action.CONTINUEPatriusException - if some specific error occurspublic boolean shouldBeRemoved()
EventDetector.eventOccurred(fr.cnes.sirius.patrius.propagation.SpacecraftState, boolean, boolean) has been triggered. It returns true if the
current detector should be removed after first event detection. WARNING: this method
can be called only once a event has been triggered. Before, the value is not available.shouldBeRemoved in interface EventDetectorshouldBeRemoved in class AbstractDetectorpublic void setPropagationDelayType(AbstractSignalPropagationDetector.PropagationDelayType propagationDelayType, Frame frame)
setPropagationDelayType in class AbstractSignalPropagationDetectorpropagationDelayType - Propagation delay type used in events computationframe - Frame to use for signal propagation with delay (may be null if propagation delay type is
considered instantaneous). Warning: the usage of a pseudo inertial frame is tolerated, however it will
lead to some inaccuracies due to the non-invariance of the frame with respect to time. For this reason,
it is suggested to use the ICRF frame or a frame which is frozen with respect to the ICRF.public double g(SpacecraftState state) throws PatriusException
Visibility from station only.
This function measures the angular distance between the current apparent vector to the spacecraft and the border of the station's field of view. It is positive when the spacecraft is in the field
More calculations are performed in case masking check is asked for: the distance between spacecraft's sensor line of sight and the occulting object is computed. This distance is positive if no masking occurs, negative otherwise.
g in interface EventDetectorg in class AbstractStationToSatDetectorstate - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesPatriusException - if some specific error occurspublic EventDetector copy()
The following attributes are not deeply copied:
SensorModelAngularCorrectionGeometricStationAntennaCopyright © 2024 CNES. All rights reserved.