Class AbstractRelativeManeuver<P extends RelativeProvider>
java.lang.Object
org.orekit.propagation.relative.maneuver.AbstractRelativeManeuver<P>
- Type Parameters:
P- type of the relative motion provider
- All Implemented Interfaces:
DetectorModifier,EventDetector,RelativeManeuver
- Direct Known Subclasses:
ClohessyWiltshireManeuver,YamanakaAnkersenManeuver
public abstract class AbstractRelativeManeuver<P extends RelativeProvider>
extends Object
implements RelativeManeuver
Abstract class for implementing an impulse maneuver for a chaser spacecraft.
- Since:
- 14.0
- Author:
- Romain Cuvillon
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractRelativeManeuver(EventDetector trigger, Vector3D deltaV, P relativeProvider) Creates a newAbstractRelativeManeuverfrom an event detector, a ΔV vector, and aRelativeProvider. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the ΔV vector of the maneuver.Get the wrapped detector.booleanGetter for the forward boolean.Get the handler.Getter for the relative provider.voidinit(SpacecraftState s0, AbsoluteDate t) Initialize event detector at the start of a propagation.toString()String representation in UTC.String representation with timescale.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.DetectorModifier
finish, g, getDetectionSettings, getEventFunction, resetMethods inherited from interface org.orekit.propagation.events.EventDetector
getMaxCheckInterval, getMaxIterationCount, getThresholdMethods inherited from interface org.orekit.propagation.relative.maneuver.RelativeManeuver
resetTrueAnomalyAtManeuver
-
Constructor Details
-
AbstractRelativeManeuver
Creates a newAbstractRelativeManeuverfrom an event detector, a ΔV vector, and aRelativeProvider.- Parameters:
trigger- Triggering event detector.deltaV- ΔV vector in the local orbital frame of the theory used by the givenRelativeProvider.relativeProvider- Relative motion equations provider.
-
-
Method Details
-
init
Initialize event detector at the start of a propagation.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.
The default implementation initializes the handler.
- Specified by:
initin interfaceDetectorModifier- Specified by:
initin interfaceEventDetector- Parameters:
s0- initial statet- target time for the integration
-
getDetector
Get the wrapped detector.- Specified by:
getDetectorin interfaceDetectorModifier- Returns:
- wrapped detector
-
getHandler
Get the handler.- Specified by:
getHandlerin interfaceDetectorModifier- Specified by:
getHandlerin interfaceEventDetector- Returns:
- event handler to call at event occurrences
-
toString
String representation in UTC. -
toString
String representation with timescale.- Parameters:
timeScale- timescale to use for date formatting- Returns:
- string representation with timescale
-
getForward
public boolean getForward()Getter for the forward boolean.- Returns:
- forward boolean.
-
getDeltaV
Getter for the ΔV vector of the maneuver.- Specified by:
getDeltaVin interfaceRelativeManeuver- Returns:
- The ΔV vector of the maneuver, expressed in the target spacecraft's LOF.
-
getRelativeProvider
Getter for the relative provider.- Specified by:
getRelativeProviderin interfaceRelativeManeuver- Returns:
- relative motion provider.
-