TwoDirectionAttitudeLaw
@Deprecated public class TwoDirectionsAttitude extends AbstractAttitudeLaw
This class implements a generic two directions attitude law. The first direction is aligned with a given satellite axis, the second direction is aligned at best with another given satellite axis.
IDirection
,
Serialized FormConstructor and Description |
---|
TwoDirectionsAttitude(IDirection firstDirection,
IDirection secondDirection,
Vector3D firstAxis,
Vector3D secondAxis)
Deprecated.
Constructor with default step values for spin and spin derivatives computation using finite differences
(0.2s for spin, 0.001s for spin derivative).
|
TwoDirectionsAttitude(IDirection firstDirection,
IDirection secondDirection,
Vector3D firstAxis,
Vector3D secondAxis,
double dtSpin,
double dtAcc)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Deprecated.
Compute the attitude corresponding to an orbital state.
|
Vector3D |
getFirstAxis()
Deprecated.
Getter for the satellite axis aligned with the first direction.
|
Vector3D |
getSecondAxis()
Deprecated.
Getter for the satellite axis aligned at best with the second direction.
|
getSpinDerivativesComputation, setSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD, getAttitude
public TwoDirectionsAttitude(IDirection firstDirection, IDirection secondDirection, Vector3D firstAxis, Vector3D secondAxis)
firstDirection
- first directionsecondDirection
- second directionfirstAxis
- satellite axis that has to be aligned with the fisrt directionsecondAxis
- satellite axis that has to be aligned at best with the second directionpublic TwoDirectionsAttitude(IDirection firstDirection, IDirection secondDirection, Vector3D firstAxis, Vector3D secondAxis, double dtSpin, double dtAcc)
firstDirection
- first directionsecondDirection
- second directionfirstAxis
- satellite axis that has to be aligned with the fisrt directionsecondAxis
- satellite axis that has to be aligned at best with the second directiondtSpin
- step for finite differences spin computationdtAcc
- step for finite differences spin derivative computationpublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computed for provided datepublic Vector3D getFirstAxis()
public Vector3D getSecondAxis()
Copyright © 2023 CNES. All rights reserved.