public class SolarTimeAngleDetector extends AbstractSignalPropagationDetector
The default implementation is to stop propagation when the solar time is reached.
This can be changed by using provided constructors.
This detector can takes into account signal propagation duration through
AbstractSignalPropagationDetector.setPropagationDelayType(PropagationDelayType, Frame) (default is signal being instantaneous).
EventDetector,
Serialized FormAbstractSignalPropagationDetector.EventDatationType, AbstractSignalPropagationDetector.PropagationDelayTypeEventDetector.ActionactionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_MAXITER, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
SolarTimeAngleDetector(double solarTimeAngle)
Constructor for a SolarTimeDetector instance.
|
SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
CelestialBodyFrame frame)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
CelestialBodyFrame frame,
EventDetector.Action action)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
CelestialBodyFrame frame,
EventDetector.Action action,
boolean remove)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
EventDetector.Action action)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
SolarTimeAngleDetector(double solarTimeAngle,
PVCoordinatesProvider sunModel,
double maxCheck,
double threshold,
CelestialBodyFrame frame,
EventDetector.Action action,
boolean remove)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
SolarTimeAngleDetector(double solarTimeAngle,
PVCoordinatesProvider sunModel,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove)
Constructor for a SolarTimeDetector instance with complimentary parameters.
|
| Modifier and Type | Method and Description |
|---|---|
EventDetector |
copy()
A copy of the detector.
|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle a solar time angle event and choose what to do next.
|
double |
g(SpacecraftState state)
Compute the value of the switching function.
|
CelestialBodyFrame |
getFrame()
Returns the frame used for solar time computation.
|
double |
getTime()
Get solar time angle to detect.
|
void |
init(SpacecraftState s0,
AbsoluteDate t)
Initialize event handler at the start of a propagation.
|
void |
setPropagationDelayType(AbstractSignalPropagationDetector.PropagationDelayType propagationDelayType,
Frame frameIn)
Setter for the propagation delay computation type.
|
getEmitter, 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, setMaxIter, shouldBeRemovedpublic SolarTimeAngleDetector(double solarTimeAngle)
throws PatriusException
Solar time will be computed in satellite orbit frame.
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).PatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold)
throws PatriusException
Solar time will be computed in satellite orbit frame.
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)PatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
CelestialBodyFrame frame)
throws PatriusException
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)frame - in relation to which the calculations are madePatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
EventDetector.Action action)
throws PatriusException
Solar time will be computed in satellite orbit frame.
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)action - action performed at solar time detectionPatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
CelestialBodyFrame frame,
EventDetector.Action action)
throws PatriusException
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)action - action performed at solar time detectionframe - in relation to which the calculations are madePatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove)
throws PatriusException
Solar time will be computed in satellite orbit frame.
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)action - action performed at solar time detectionremove - true if detector should be removedPatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
double maxCheck,
double threshold,
CelestialBodyFrame frame,
EventDetector.Action action,
boolean remove)
throws PatriusException
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)action - action performed at solar time detectionremove - true if detector should be removedframe - in relation to which the calculations are madePatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
PVCoordinatesProvider sunModel,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove)
throws PatriusException
Solar time will be computed in satellite orbit frame.
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).sunModel - Sun modelmaxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)action - action performed at solar time detectionremove - true if detector should be removedPatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public SolarTimeAngleDetector(double solarTimeAngle,
PVCoordinatesProvider sunModel,
double maxCheck,
double threshold,
CelestialBodyFrame frame,
EventDetector.Action action,
boolean remove)
throws PatriusException
solarTimeAngle - satellite solar time angle triggering the event (in the range [-Π,
Π[). Angle between the projection of the Sun in the osculator orbital plane and the
satellite position (Solar Time In Hours = 12.00h + solar time angle * 12 / Π).sunModel - Sun modelmaxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)action - action performed at solar time detectionremove - true if detector should be removedframe - in relation to which the calculations are madePatriusException - error when loading the ephemeris files or solar time angle not in
the range [-Π, Π[public EventDetector.Action eventOccurred(SpacecraftState s, boolean increasing, boolean forward) throws PatriusException
The default implementation behavior is to stop propagation when the solar time
is reached.
eventOccurred in interface EventDetectoreventOccurred in class AbstractDetectors - the current state information : date, kinematics, attitude.increasing - if true, the value of the switching function increases when time increases
around event.forward - if true, the integration variable (time) increases during integration.PatriusException - if some specific error occurspublic double g(SpacecraftState state) throws PatriusException
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 occurspublic 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 double getTime()
public CelestialBodyFrame getFrame()
public void setPropagationDelayType(AbstractSignalPropagationDetector.PropagationDelayType propagationDelayType, Frame frameIn)
AbstractSignalPropagationDetectorsetPropagationDelayType in class AbstractSignalPropagationDetectorpropagationDelayType - Propagation delay type used in events computationframeIn - 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 EventDetector copy()
Copyright © 2025 CNES. All rights reserved.