fr.cnes.genopus.nonWidget.maneuvers
Class CustomConstantManeuver

java.lang.Object
  extended by org.orekit.parameter.Parameterizable
      extended by org.orekit.parameter.JacobiansParameterizable
          extended by org.orekit.forces.maneuvers.ConstantThrustManeuver
              extended by fr.cnes.genopus.nonWidget.maneuvers.CustomConstantManeuver
All Implemented Interfaces:
CustomManeuverInterface, Serializable, org.orekit.forces.ForceModel, org.orekit.forces.GradientModel, org.orekit.parameter.IJacobiansParameterizable, org.orekit.parameter.IParameterizable

public class CustomConstantManeuver
extends org.orekit.forces.maneuvers.ConstantThrustManeuver
implements CustomManeuverInterface

Class containing the continuous maneuver data.

Author:
sumelzi, bacr, ffsm
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.orekit.forces.maneuvers.ConstantThrustManeuver
FLOW_RATE, THRUST
 
Constructor Summary
CustomConstantManeuver(String manName, CustomEngine engine, CustomFuelTank tank, org.orekit.frames.Frame frame, CustomEventDetector startEventDetector, CustomEventDetector stopEventDetector, org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction, org.orekit.propagation.MassProvider massProvider)
          Creates a new instance giving as well coding event detectors.
CustomConstantManeuver(String manName, CustomEngine engine, CustomFuelTank tank, org.orekit.frames.Frame inertialFrame, CustomEventDetector startManeuver, fr.cnes.sirius.patrius.events.GenericCodingEventDetector startManeuverCodingDetector, CustomEventDetector endManeuver, fr.cnes.sirius.patrius.events.GenericCodingEventDetector endManeuverCodingDetector, org.apache.commons.math3.geometry.euclidean.threed.Vector3D accDirection, org.orekit.propagation.MassProvider massProvider)
          Creates a new instance giving as well coding event detectors.
CustomConstantManeuver(String manName, CustomEngine engine, CustomFuelTank tank, org.orekit.frames.LOFType lofType, CustomEventDetector startEventDetector, CustomEventDetector stopEventDetector, org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction, org.orekit.propagation.MassProvider massProvider)
          Creates a new instance giving as well coding event detectors.
CustomConstantManeuver(String manName, CustomEngine engine, CustomFuelTank tank, org.orekit.frames.LOFType lofFrame, CustomEventDetector startManeuver, fr.cnes.sirius.patrius.events.GenericCodingEventDetector startManeuverCodingDetector, CustomEventDetector endManeuver, fr.cnes.sirius.patrius.events.GenericCodingEventDetector endManeuverCodingDetector, org.apache.commons.math3.geometry.euclidean.threed.Vector3D accDirection, org.orekit.propagation.MassProvider massProvider)
          Creates a new instance giving as well coding event detectors.
 
Method Summary
 org.apache.commons.math3.geometry.euclidean.threed.Vector3D getAccDirection()
          Get the acceleration direction.
 CustomEventDetector getEndManeuver()
           
 fr.cnes.sirius.patrius.events.GenericCodingEventDetector getEndManeuverCodingEventDetector()
          Get the end maneuver coding event detector, expected to be given to the CoddedEventsLogger.
 CustomEngine getEngine()
          Get selected engine.
 CustomFuelTank getFuelTank()
          Get selected fuel tank.
 org.orekit.frames.Frame getInertialFrame()
          Get the frame type.
 org.orekit.frames.LOFType getLofFrame()
          Get the frame type.
 org.orekit.propagation.MassProvider getMassProvider()
          Getter for the mass provider.
 String getNameManeuver()
          Get the maneuver's name.
 fr.cnes.sirius.patrius.events.GenericCodingEventDetector getStartManeuverCodingEventDetector()
          Get the start maneuver coding event detector, expected to be given to the CoddedEventsLogger.
 CustomEventDetector getStartManeuverEventDetector()
          Get the event detector firing start of maneuver.
 String toString()
          
 
Methods inherited from class org.orekit.forces.maneuvers.ConstantThrustManeuver
addContribution, addDAccDParam, addDAccDState, computeAcceleration, computeGradientPosition, computeGradientVelocity, getEndDate, getEventsDetectors, getFrame, getISP, getStartDate, isFiring, setFiring
 
Methods inherited from class org.orekit.parameter.JacobiansParameterizable
addJacobiansParameter, addJacobiansParameter, addJacobiansParameter, supportsJacobianParameter
 
Methods inherited from class org.orekit.parameter.Parameterizable
addParameter, getParameters, supportsParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.orekit.parameter.IParameterizable
getParameters, supportsParameter
 

Constructor Detail

CustomConstantManeuver

public CustomConstantManeuver(String manName,
                              CustomEngine engine,
                              CustomFuelTank tank,
                              org.orekit.frames.LOFType lofType,
                              CustomEventDetector startEventDetector,
                              CustomEventDetector stopEventDetector,
                              org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction,
                              org.orekit.propagation.MassProvider massProvider)
Creates a new instance giving as well coding event detectors.

Parameters:
manName - maneuver's name
engine - engine selected
tank - tank selected
lofType - the LOF type of the acceleration direction
startEventDetector - event detector upon which maneuver should start
stopEventDetector - event detector upon which maneuver should stop
direction - the acceleration direction in the frame defined by the user
massProvider - the mass provider

CustomConstantManeuver

public CustomConstantManeuver(String manName,
                              CustomEngine engine,
                              CustomFuelTank tank,
                              org.orekit.frames.LOFType lofFrame,
                              CustomEventDetector startManeuver,
                              fr.cnes.sirius.patrius.events.GenericCodingEventDetector startManeuverCodingDetector,
                              CustomEventDetector endManeuver,
                              fr.cnes.sirius.patrius.events.GenericCodingEventDetector endManeuverCodingDetector,
                              org.apache.commons.math3.geometry.euclidean.threed.Vector3D accDirection,
                              org.orekit.propagation.MassProvider massProvider)
Creates a new instance giving as well coding event detectors.

Parameters:
manName - maneuver's name
engine - engine selected
tank - tank selected
lofFrame - frame in LOF
startManeuver - start maneuver event
startManeuverCodingDetector - start maneuver coding event detector (it should return ACTION.CONTINUE)
endManeuver - end maneuver event
endManeuverCodingDetector - end maneuver coding event detector (it should return ACTION.CONTINUE)
accDirection - acceleration direction
massProvider - the mass provider

CustomConstantManeuver

public CustomConstantManeuver(String manName,
                              CustomEngine engine,
                              CustomFuelTank tank,
                              org.orekit.frames.Frame frame,
                              CustomEventDetector startEventDetector,
                              CustomEventDetector stopEventDetector,
                              org.apache.commons.math3.geometry.euclidean.threed.Vector3D direction,
                              org.orekit.propagation.MassProvider massProvider)
Creates a new instance giving as well coding event detectors.

Parameters:
manName - maneuver's name
engine - engine selected
tank - tank selected
frame - inertial frame
startEventDetector - start maneuver event
stopEventDetector - end maneuver event
direction - acceleration direction
massProvider - the mass provider

CustomConstantManeuver

public CustomConstantManeuver(String manName,
                              CustomEngine engine,
                              CustomFuelTank tank,
                              org.orekit.frames.Frame inertialFrame,
                              CustomEventDetector startManeuver,
                              fr.cnes.sirius.patrius.events.GenericCodingEventDetector startManeuverCodingDetector,
                              CustomEventDetector endManeuver,
                              fr.cnes.sirius.patrius.events.GenericCodingEventDetector endManeuverCodingDetector,
                              org.apache.commons.math3.geometry.euclidean.threed.Vector3D accDirection,
                              org.orekit.propagation.MassProvider massProvider)
Creates a new instance giving as well coding event detectors.

Parameters:
manName - maneuver's name
engine - engine selected
tank - tank selected
inertialFrame - inertial frame
startManeuver - start maneuver event
startManeuverCodingDetector - start maneuver coding event detector (it should return ACTION.CONTINUE)
endManeuver - end maneuver event
endManeuverCodingDetector - end maneuver coding event detector (it should return ACTION.CONTINUE)
accDirection - acceleration direction
massProvider - the mass provider
Method Detail

getStartManeuverEventDetector

public CustomEventDetector getStartManeuverEventDetector()
Get the event detector firing start of maneuver.

Specified by:
getStartManeuverEventDetector in interface CustomManeuverInterface
Returns:
the start of maneuver event detector.

getEndManeuver

public CustomEventDetector getEndManeuver()
Returns:
the endManeuver

getAccDirection

public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getAccDirection()
Get the acceleration direction.

Returns:
the acceleration direction

getStartManeuverCodingEventDetector

public fr.cnes.sirius.patrius.events.GenericCodingEventDetector getStartManeuverCodingEventDetector()
                                                                                             throws NonWidgetException
Get the start maneuver coding event detector, expected to be given to the CoddedEventsLogger.

Specified by:
getStartManeuverCodingEventDetector in interface CustomManeuverInterface
Returns:
the startManeuverCodingDetector the start maneuver coding event detector
Throws:
NonWidgetException - if it was not given at the object creation

getEndManeuverCodingEventDetector

public fr.cnes.sirius.patrius.events.GenericCodingEventDetector getEndManeuverCodingEventDetector()
                                                                                           throws NonWidgetException
Get the end maneuver coding event detector, expected to be given to the CoddedEventsLogger.

Returns:
the endManeuverCodingDetector
Throws:
NonWidgetException - if it was not given at the object creation

getNameManeuver

public String getNameManeuver()
Get the maneuver's name.

Specified by:
getNameManeuver in interface CustomManeuverInterface
Returns:
the maneuver's name

getEngine

public CustomEngine getEngine()
Get selected engine.

Specified by:
getEngine in interface CustomManeuverInterface
Returns:
the engine the engine

getFuelTank

public CustomFuelTank getFuelTank()
Get selected fuel tank.

Specified by:
getFuelTank in interface CustomManeuverInterface
Returns:
the fuelTank the fuel tank

getInertialFrame

public org.orekit.frames.Frame getInertialFrame()
Get the frame type.

Specified by:
getInertialFrame in interface CustomManeuverInterface
Returns:
the frame type.

getLofFrame

public org.orekit.frames.LOFType getLofFrame()
Get the frame type.

Specified by:
getLofFrame in interface CustomManeuverInterface
Returns:
the frame type.

getMassProvider

public org.orekit.propagation.MassProvider getMassProvider()
Getter for the mass provider.

Returns:
the mass provider

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.