public class ManeuversSequence extends Object
Maneuvers defined with dates cannot overlap. Maneuvers defined by generic events can overlap.
ContinuousThrustManeuver
,
ImpulseManeuver
Constructor and Description |
---|
ManeuversSequence(double dTcontinue,
double dTimpulse)
Constructor of the maneuvers sequence.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(ContinuousThrustManeuver maneuver)
Adds a continuous maneuver to the list.
Two scenarios are possible : the maneuver to add is triggered by a detector other than DateDetector , always add the maneuver; it
means some overlapping may occur.
the maneuver to add is triggered by a DateDetector , always check first if the time interval of the
maneuver respects the two following conditions:
no superposition with any maneuver in the list;
the time between the end of the previous maneuver and the start of the maneuver to add, as well as the time
between the end of the maneuver to add and the start of the next maneuver, must be bigger than the threshold
value.
|
boolean |
add(ImpulseManeuver maneuver)
Adds an impulse maneuver to the list.
Two scenarios are possible: the maneuver to add is triggered by a detector other than DateDetector , always add the maneuver; it
means some overlapping may occur.
the maneuver to add is triggered by a DateDetector , check if the date of the maneuver respects the
two following conditions:
no superposition with any maneuver in the list;
the time between the end of the previous maneuver and the date of the maneuver to add, as well as the time
between the end of the maneuver to add and the date of the next maneuver, must be bigger than the threshold
value.
|
void |
applyTo(NumericalPropagator propagator)
Adds all the maneuvers (continue and impulse) to the propagator.
|
double |
getConstraintContinuous()
Get the time constraint for continuous maneuvers.
|
double |
getConstraintImpulsive()
Get the time constraint for impulsive maneuvers.
|
Set<ContinuousThrustManeuver> |
getContinueManeuversList()
Get the continue maneuvers list.
|
Set<ImpulseManeuver> |
getImpulseManeuversList()
Get the continue maneuvers list.
|
List<Maneuver> |
getManeuversList()
Get the custom maneuvers list.
|
int |
getSize() |
boolean |
remove(ContinuousThrustManeuver maneuver)
Remove the selected continue maneuver from the list.
If the maneuver is not in the list, it returns false. |
boolean |
remove(ImpulseManeuver maneuver)
Remove the selected impulse maneuver from the list.
If the maneuver is not in the list, it returns false. |
public ManeuversSequence(double dTcontinue, double dTimpulse)
dTcontinue
- the minimum allowed time between a continue maneuver and the next maneuver.dTimpulse
- the minimum allowed time between an impulse maneuver and the next maneuver.public final boolean add(ContinuousThrustManeuver maneuver)
DateDetector
, always add the maneuver; it
means some overlapping may occur.DateDetector
, always check first if the time interval of the
maneuver respects the two following conditions:
maneuver
- the continue maneuver to add to the listpublic final boolean remove(ContinuousThrustManeuver maneuver)
maneuver
- the maneuver to remove from the listpublic final boolean add(ImpulseManeuver maneuver)
DateDetector
, always add the maneuver; it
means some overlapping may occur.DateDetector
, check if the date of the maneuver respects the
two following conditions:
maneuver
- the impulse maneuver to add to the listpublic final boolean remove(ImpulseManeuver maneuver)
maneuver
- the maneuver to remove from the listpublic final int getSize()
public final void applyTo(NumericalPropagator propagator)
propagator
- the propagator to which all the maneuvers must be appliedpublic Set<ContinuousThrustManeuver> getContinueManeuversList()
public Set<ImpulseManeuver> getImpulseManeuversList()
public List<Maneuver> getManeuversList()
public double getConstraintImpulsive()
public double getConstraintContinuous()
Copyright © 2023 CNES. All rights reserved.