public abstract class AbstractStationToSatDetector extends AbstractSignalPropagationDetector
Abstract event detector using a station elevation correction.
AbstractSignalPropagationDetector.EventDatationType, AbstractSignalPropagationDetector.PropagationDelayTypeEventDetector.ActionactionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_MAXITER, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStationToSatDetector(GeometricStationAntenna stationModel,
AngularCorrection correctionModel,
SensorModel sensorModel,
boolean withMasking,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit,
int slopeSelection,
VisibilityFromStationDetector.LinkType linkTypeIn)
Constructor for the abstract event detector using a station elevation correction.
|
| Modifier and Type | Method and Description |
|---|---|
double |
g(SpacecraftState state)
Compute the value of the switching function.
|
Assembly |
getAssembly()
Get the assembly.
|
protected Vector3D |
getCorrectedVector(SpacecraftState s)
Compute the apparent vector from the station to the spacecraft with tropospheric effects.
|
AngularCorrection |
getCorrection()
Get the correction.
|
VisibilityFromStationDetector.LinkType |
getLinkType()
Returns the type of link (it can be uplink or downlink).
|
protected double |
getMinMaskingDistance(SpacecraftState s,
SensorModel model,
AbsoluteDate stationDate)
Computes minimum masking distance by either body or spacecraft defined in sensor model.
|
SensorModel |
getSensor()
Get the sensor.
|
GeometricStationAntenna |
getStation()
Get the station.
|
boolean |
isMaskingCheck()
True if masking are taken into account.
|
getEmitter, getEpsilonSignalPropagation, getEventDatationType, getInertialFrame, getLinkTypeHandler, getMaxIterSignalPropagation, getOtherDate, getPropagationDelayType, getReceiver, getSignalEmissionDate, getSignalEmissionDate, getSignalReceptionDate, getSignalReceptionDate, setEpsilonSignalPropagation, setMaxIterSignalPropagation, setPropagationDelayTypeeventOccurred, filterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyprotected AbstractStationToSatDetector(GeometricStationAntenna stationModel, AngularCorrection correctionModel, SensorModel sensorModel, boolean withMasking, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit, boolean removeEntry, boolean removeExit, int slopeSelection, VisibilityFromStationDetector.LinkType linkTypeIn)
The maximal interval between elevation checks should be smaller than the half duration of the minimal pass to handle, otherwise some short passes could be missed.
stationModel - the geometric model of the ground station antennacorrectionModel - the angular correction model (set null to ignore the station elevation
correction)sensorModel - sensor model of the spacecraft used for masking computations (not used otherwise,
can be set to null). The sensor model of the main part frame of the assembly must have a parent
frame! Make sure that the main target of this sensor model is the above station!withMasking - set true to compute maskings of spacecraft's sensor by occulting bodies: in this case, there
is no visibility if one of the masking bodies of the sensor is between the spacecraft and the stationmaxCheck - maximal 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 zoneslopeSelection - slope selectionlinkTypeIn - the type of link (it can be uplink or downlink)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 AbstractDetectorstate - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesPatriusException - if some specific error occursprotected Vector3D getCorrectedVector(SpacecraftState s) throws PatriusException
s - the current state information: date, kinematics, attitudePatriusException - if some specific error occursprotected double getMinMaskingDistance(SpacecraftState s, SensorModel model, AbsoluteDate stationDate) throws PatriusException
s - spacecraft statemodel - spacecraft sensor modelstationDate - station datePatriusException - thrown if computation failedpublic GeometricStationAntenna getStation()
public AngularCorrection getCorrection()
public VisibilityFromStationDetector.LinkType getLinkType()
public SensorModel getSensor()
public Assembly getAssembly()
public boolean isMaskingCheck()
Copyright © 2025 CNES. All rights reserved.