|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.propagation.events.AbstractDetector fr.cnes.sirius.patrius.events.sensor.RFVisibilityDetector
public class RFVisibilityDetector
Finder for ground station / satellite RF visibility events.
The default implementation behavior is to
continue
propagation at raising and to stop
propagation
at setting. This can be changed by This can be changed by using provided constructors.
EventDetector
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from interface org.orekit.propagation.events.EventDetector |
---|
EventDetector.Action |
Field Summary |
---|
Fields inherited from class org.orekit.propagation.events.AbstractDetector |
---|
DEFAULT_MAXCHECK, DEFAULT_THRESHOLD |
Fields inherited from interface org.orekit.propagation.events.EventDetector |
---|
DECREASING, INCREASING, INCREASING_DECREASING |
Constructor Summary | |
---|---|
RFVisibilityDetector(RFLinkBudgetModel linkBudgetModel,
double linkBudgetThreshold,
double maxCheck,
double threshold)
Constructor for the sensor masking detector. |
|
RFVisibilityDetector(RFLinkBudgetModel linkBudgetModel,
double linkBudgetThreshold,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit)
Constructor for the sensor masking detector. |
|
RFVisibilityDetector(RFLinkBudgetModel linkBudgetModel,
double linkBudgetThreshold,
double maxCheck,
double threshold,
EventDetector.Action entry,
EventDetector.Action exit,
boolean removeEntry,
boolean removeExit)
Constructor for the sensor masking detector. |
Method Summary | |
---|---|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle an event and choose what to do next. |
double |
g(SpacecraftState s)
Compute the value of the switching function. |
RFLinkBudgetModel |
getLbModel()
Get the RF link budget model. |
double |
getLbThreshold()
Get the RF link budget threshold. |
boolean |
shouldBeRemoved()
This method is called after EventDetector.eventOccurred(org.orekit.propagation.SpacecraftState, boolean, boolean) has been triggered. |
Methods inherited from class org.orekit.propagation.events.AbstractDetector |
---|
getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, resetState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RFVisibilityDetector(RFLinkBudgetModel linkBudgetModel, double linkBudgetThreshold, double maxCheck, double threshold)
The default implementation behaviour is to
continue
propagation when entering the region of RF visibility and to stop when exiting.
linkBudgetModel
- the model for the computation of the link budgetlinkBudgetThreshold
- link budget threshold for the nominal mode (dB)maxCheck
- the maximal checking interval (s)threshold
- the convergence threshold (s)public RFVisibilityDetector(RFLinkBudgetModel linkBudgetModel, double linkBudgetThreshold, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit)
linkBudgetModel
- the model for the computation of the link budgetlinkBudgetThreshold
- link budget threshold for the nominal mode (dB)maxCheck
- the maximal checking interval (s)threshold
- the convergence threshold (s)entry
- when entering the region of RF visibility.exit
- when exiting the region of RF visibility.public RFVisibilityDetector(RFLinkBudgetModel linkBudgetModel, double linkBudgetThreshold, double maxCheck, double threshold, EventDetector.Action entry, EventDetector.Action exit, boolean removeEntry, boolean removeExit)
linkBudgetModel
- the model for the computation of the link budgetlinkBudgetThreshold
- link budget threshold for the nominal mode (dB)maxCheck
- the maximal checking interval (s)threshold
- the convergence threshold (s)entry
- when entering the region of RF visibility.exit
- when exiting the region of RF visibility.removeEntry
- true if entering the region of RF visibility.removeExit
- true if exiting the region of RF visibility.Method Detail |
---|
public EventDetector.Action eventOccurred(SpacecraftState s, boolean increasing, boolean forward) throws OrekitException
AbstractDetector
The scheduling between this method and the OrekitStepHandler
method handleStep(interpolator, isLast)
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 EventDetector
eventOccurred
in class AbstractDetector
s
- 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.CONTINUE
OrekitException
- if some specific error occurspublic boolean shouldBeRemoved()
AbstractDetector
EventDetector.eventOccurred(org.orekit.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 EventDetector
shouldBeRemoved
in class AbstractDetector
public double g(SpacecraftState s) throws OrekitException
g
in interface EventDetector
g
in class AbstractDetector
s
- the current state information: date, kinematics, attitude
OrekitException
- if some specific error occurspublic RFLinkBudgetModel getLbModel()
public double getLbThreshold()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |