Class FieldAbstractRelativeManeuver<T extends CalculusFieldElement<T>,P extends FieldRelativeProvider<T>>
java.lang.Object
org.orekit.propagation.relative.maneuver.FieldAbstractRelativeManeuver<T,P>
- Type Parameters:
T- type of the field elementP- type of the relative motion provider
- All Implemented Interfaces:
FieldDetectorModifier<T>,FieldEventDetector<T>,FieldRelativeManeuver<T>
- Direct Known Subclasses:
FieldClohessyWiltshireManeuver,FieldYamanakaAnkersenManeuver
public abstract class FieldAbstractRelativeManeuver<T extends CalculusFieldElement<T>,P extends FieldRelativeProvider<T>>
extends Object
implements FieldRelativeManeuver<T>
Abstract class for implementing an impulse maneuver for a chaser spacecraft.
- Since:
- 14.0
- Author:
- Romain Cuvillon
-
Constructor Summary
ConstructorsConstructorDescriptionFieldAbstractRelativeManeuver(FieldEventDetector<T> trigger, FieldVector3D<T> deltaV, P relativeProvider) Creates a newFieldAbstractRelativeManeuverfrom an event detector, a ΔV vector, and aFieldRelativeProvider. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the ΔV vector of the maneuver.Getter for wrapped detector.booleanGetter for the forward boolean.Get the handler.Getter for the relative provider.voidinit(FieldSpacecraftState<T> s0, FieldAbsoluteDate<T> t) Initialize event detector at the start of a propagation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.FieldDetectorModifier
finish, g, getDetectionSettings, getEventFunction, resetMethods inherited from interface org.orekit.propagation.events.FieldEventDetector
getMaxCheckInterval, getMaxIterationCount, getThresholdMethods inherited from interface org.orekit.propagation.relative.maneuver.FieldRelativeManeuver
resetTrueAnomalyAtManeuver
-
Constructor Details
-
FieldAbstractRelativeManeuver
public FieldAbstractRelativeManeuver(FieldEventDetector<T> trigger, FieldVector3D<T> deltaV, P relativeProvider) Creates a newFieldAbstractRelativeManeuverfrom an event detector, a ΔV vector, and aFieldRelativeProvider.- Parameters:
trigger- Triggering event detector.deltaV- ΔV vector in the local orbital frame of the theory used by the givenFieldRelativeProvider.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 detector to initialize some internal data if needed.
The default implementation initializes the handler.
- Specified by:
initin interfaceFieldDetectorModifier<T extends CalculusFieldElement<T>>- Specified by:
initin interfaceFieldEventDetector<T extends CalculusFieldElement<T>>- Parameters:
s0- initial statet- target time for the integration
-
getDetector
Getter for wrapped detector.- Specified by:
getDetectorin interfaceFieldDetectorModifier<T extends CalculusFieldElement<T>>- Returns:
- detector
-
getForward
public boolean getForward()Getter for the forward boolean.- Returns:
- forward boolean
-
getDeltaV
Getter for the ΔV vector of the maneuver.- Specified by:
getDeltaVin interfaceFieldRelativeManeuver<T extends CalculusFieldElement<T>>- Returns:
- The ΔV vector of the maneuver, expressed in the target spacecraft's LOF.
-
getRelativeProvider
Getter for the relative provider.- Specified by:
getRelativeProviderin interfaceFieldRelativeManeuver<T extends CalculusFieldElement<T>>- Returns:
- relative motion provider.
-
getHandler
Get the handler.- Specified by:
getHandlerin interfaceFieldDetectorModifier<T extends CalculusFieldElement<T>>- Specified by:
getHandlerin interfaceFieldEventDetector<T extends CalculusFieldElement<T>>- Returns:
- event handler to call at event occurrences
-