Package org.orekit.rugged.utils
Class SpacecraftToObservedBody
- java.lang.Object
-
- org.orekit.rugged.utils.SpacecraftToObservedBody
-
- All Implemented Interfaces:
Serializable
public class SpacecraftToObservedBody extends Object implements Serializable
Provider for observation transforms.- Author:
- Luc Maisonobe, Guylaine Prat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpacecraftToObservedBody(Frame inertialFrame, Frame bodyFrame, AbsoluteDate minDate, AbsoluteDate maxDate, double tStep, double overshootTolerance, List<Transform> bodyToInertial, List<Transform> scToInertial)
Simple constructor.SpacecraftToObservedBody(Frame inertialFrame, Frame bodyFrame, AbsoluteDate minDate, AbsoluteDate maxDate, double tStep, double overshootTolerance, List<TimeStampedPVCoordinates> positionsVelocities, int pvInterpolationNumber, CartesianDerivativesFilter pvFilter, List<TimeStampedAngularCoordinates> quaternions, int aInterpolationNumber, AngularDerivativesFilter aFilter)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Frame
getBodyFrame()
Get the body frame.Transform
getBodyToInertial(AbsoluteDate date)
Get transform from observed body frame to inertial frame.Frame
getInertialFrame()
Get the inertial frame.Transform
getInertialToBody(AbsoluteDate date)
Get transform from inertial frame to observed body frame.AbsoluteDate
getMaxDate()
Get the end of search time span.AbsoluteDate
getMinDate()
Get the start of search time span.double
getOvershootTolerance()
Get the tolerance in seconds allowed forgetMinDate()
andgetMaxDate()
overshooting.Transform
getScToInertial(AbsoluteDate date)
Get transform from spacecraft to inertial frame.double
getTStep()
Get the step to use for inertial frame to body frame transforms cache computations.boolean
isInRange(AbsoluteDate date)
Check if a date is in the supported range.
-
-
-
Constructor Detail
-
SpacecraftToObservedBody
public SpacecraftToObservedBody(Frame inertialFrame, Frame bodyFrame, AbsoluteDate minDate, AbsoluteDate maxDate, double tStep, double overshootTolerance, List<TimeStampedPVCoordinates> positionsVelocities, int pvInterpolationNumber, CartesianDerivativesFilter pvFilter, List<TimeStampedAngularCoordinates> quaternions, int aInterpolationNumber, AngularDerivativesFilter aFilter)
Simple constructor.- Parameters:
inertialFrame
- inertial framebodyFrame
- observed body frameminDate
- start of search time spanmaxDate
- end of search time spantStep
- step to use for inertial frame to body frame transforms cache computationsovershootTolerance
- tolerance in seconds allowed forminDate
andmaxDate
overshooting slightly the position, velocity and quaternions ephemeridespositionsVelocities
- satellite position and velocitypvInterpolationNumber
- number of points to use for position/velocity interpolationpvFilter
- filter for derivatives from the sample to use in position/velocity interpolationquaternions
- satellite quaternionsaInterpolationNumber
- number of points to use for attitude interpolationaFilter
- filter for derivatives from the sample to use in attitude interpolation
-
SpacecraftToObservedBody
public SpacecraftToObservedBody(Frame inertialFrame, Frame bodyFrame, AbsoluteDate minDate, AbsoluteDate maxDate, double tStep, double overshootTolerance, List<Transform> bodyToInertial, List<Transform> scToInertial)
Simple constructor.- Parameters:
inertialFrame
- inertial framebodyFrame
- observed body frameminDate
- start of search time spanmaxDate
- end of search time spantStep
- step to use for inertial frame to body frame transforms cache computationsovershootTolerance
- tolerance in seconds allowed forminDate
andmaxDate
overshooting slightly the position, velocity and quaternions ephemeridesbodyToInertial
- transforms sample from observed body frame to inertial framescToInertial
- transforms sample from spacecraft frame to inertial frame
-
-
Method Detail
-
getInertialFrame
public Frame getInertialFrame()
Get the inertial frame.- Returns:
- inertial frame
-
getBodyFrame
public Frame getBodyFrame()
Get the body frame.- Returns:
- body frame
-
getMinDate
public AbsoluteDate getMinDate()
Get the start of search time span.- Returns:
- start of search time span
-
getMaxDate
public AbsoluteDate getMaxDate()
Get the end of search time span.- Returns:
- end of search time span
-
getTStep
public double getTStep()
Get the step to use for inertial frame to body frame transforms cache computations.- Returns:
- step to use for inertial frame to body frame transforms cache computations
-
getOvershootTolerance
public double getOvershootTolerance()
Get the tolerance in seconds allowed forgetMinDate()
andgetMaxDate()
overshooting.- Returns:
- tolerance in seconds allowed for
getMinDate()
andgetMaxDate()
overshooting
-
getScToInertial
public Transform getScToInertial(AbsoluteDate date)
Get transform from spacecraft to inertial frame.- Parameters:
date
- date of the transform- Returns:
- transform from spacecraft to inertial frame
-
getInertialToBody
public Transform getInertialToBody(AbsoluteDate date)
Get transform from inertial frame to observed body frame.- Parameters:
date
- date of the transform- Returns:
- transform from inertial frame to observed body frame
-
getBodyToInertial
public Transform getBodyToInertial(AbsoluteDate date)
Get transform from observed body frame to inertial frame.- Parameters:
date
- date of the transform- Returns:
- transform from observed body frame to inertial frame
-
isInRange
public boolean isInRange(AbsoluteDate date)
Check if a date is in the supported range.- Parameters:
date
- date to check- Returns:
- true if date is in the supported range
-
-