public class ConstantSpinSlewComputer extends Object implements Serializable
Class for constant spin slew computation with angular velocity constraint. Computation of slew returns a
ConstantSpinSlew
.
The Constant spin slew is a "simple" slew that computes the attitude of the satellite using a spherical interpolation
of the quaternions representing the starting and ending attitudes.
Like all the other attitude legs, its interval of validity has closed endpoints.
Constructor and Description |
---|
ConstantSpinSlewComputer(double constraintValue)
Builds an instance from an angular velocity constraint.
|
ConstantSpinSlewComputer(double constraintValue,
String natureIn)
Builds an instance from an angular velocity constraint.
|
Modifier and Type | Method and Description |
---|---|
ConstantSpinSlew |
compute(PVCoordinatesProvider pvProv,
AttitudeProvider initialLaw,
AbsoluteDate initialDate,
AttitudeProvider finalLaw,
AbsoluteDate finalDate)
Compute the slew.
|
public ConstantSpinSlewComputer(double constraintValue)
constraintValue
- angular velocity constraintpublic ConstantSpinSlewComputer(double constraintValue, String natureIn)
constraintValue
- angular velocity constraintnatureIn
- leg naturepublic ConstantSpinSlew compute(PVCoordinatesProvider pvProv, AttitudeProvider initialLaw, AbsoluteDate initialDate, AttitudeProvider finalLaw, AbsoluteDate finalDate) throws PatriusException
pvProv
- satellite PV coordinates through timeinitialLaw
- initial attitude law (before the slew)initialDate
- slew start date (null if slew defined with its end date)finalLaw
- final attitude law (after the slew)finalDate
- slew end date (null if slew defined with its start date)PatriusException
- thrown if computation failedCopyright © 2023 CNES. All rights reserved.