public class SunPointing extends TwoDirectionAttitudeLaw
This class implements a Sun pointing attitude law. The first direction is the satellite-sun direction, the second direction is either the sun poles axis or the normal to the satellite orbit.
IDirection
,
Serialized FormConstructor and Description |
---|
SunPointing(CelestialBody body,
Vector3D firstAxis,
Vector3D secondAxis)
Constructor of the sun pointing attitude law.
|
SunPointing(CelestialBody body,
Vector3D firstAxis,
Vector3D secondAxis,
CelestialBody sun)
Constructor of the sun pointing attitude law.
|
SunPointing(Vector3D firstAxis,
Vector3D secondAxis)
Constructor of the sun pointing attitude law.
|
SunPointing(Vector3D firstAxis,
Vector3D secondAxis,
CelestialBody sun)
Constructor of the sun pointing attitude law.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getAttitude, getFirstAxis, getSecondAxis
getSpinDerivativesComputation, setSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD, getAttitude
public SunPointing(Vector3D firstAxis, Vector3D secondAxis) throws PatriusException
Sun is defined by CelestialBodyFactory.getSun()
(JPL ephemeris model).
firstAxis
- : satellite axis aligned with the first direction.secondAxis
- : satellite axis aligned at best with the second direction.PatriusException
- if the sun cannot be builtpublic SunPointing(CelestialBody body, Vector3D firstAxis, Vector3D secondAxis) throws PatriusException
Sun is defined by CelestialBodyFactory.getSun()
(JPL ephemeris model).
body
- : celestial body associated to the satellite orbit.firstAxis
- : satellite axis aligned with the first direction.secondAxis
- : satellite axis aligned at best with the second direction.PatriusException
- if the sun cannot be builtpublic SunPointing(Vector3D firstAxis, Vector3D secondAxis, CelestialBody sun) throws PatriusException
firstAxis
- satellite axis aligned with the first direction.secondAxis
- satellite axis aligned at best with the second direction.sun
- sunPatriusException
- if the sun cannot be builtpublic SunPointing(CelestialBody body, Vector3D firstAxis, Vector3D secondAxis, CelestialBody sun)
body
- celestial body associated to the satellite orbit.firstAxis
- satellite axis aligned with the first direction.secondAxis
- satellite axis aligned at best with the second direction.sun
- sunCopyright © 2023 CNES. All rights reserved.