Attitude
The attitude module contains function for common attitude operations, different attitude representations (Quaternions, Euler Angles, Euler Axis & Angle, Rotation Matrices), and transformations between different attitude representations.
SatelliteDynamics.Attitude.Rx — Function.Rotation matrix, for a rotation about the x-axis.
Arguments:
angle::Real: Counter-clockwise angle of rotation as viewed looking back along the postive direction of the rotation axis.use_degrees:Bool: Iftrueinterpret input as being in degrees.
Returns:
r::Array{<:Real, 2}: Rotation matrix
References:
- O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012, p.27.
SatelliteDynamics.Attitude.Ry — Function.Rotation matrix, for a rotation about the y-axis.
Arguments:
angle::Real: Counter-clockwise angle of rotation as viewed looking back along the postive direction of the rotation axis.use_degrees:Bool: Iftrueinterpret input as being in degrees.
Returns:
r::Array{<:Real, 2}: Rotation matrix
References:
- O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012, p.27.
SatelliteDynamics.Attitude.Rz — Function.Rotation matrix, for a rotation about the z-axis.
Arguments:
angle::Real: Counter-clockwise angle of rotation as viewed looking back along the postive direction of the rotation axis.use_degrees:Bool: Iftrueinterpret input as being in degrees.
Returns:
r::Array{<:Real, 2}: Rotation matrix
References:
- O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012, p.27.
Quaternions
Quaternion
as_vector(q::Quaternion)
as_matrix(q::Quaternion)
copy(q::Quaternion)
deepcopy(q::Quaternion)
slerpEulerAngle
EulerAngle
as_vector(e::EulerAngle)
as_matrix(e::EulerAngle)
copy(e::EulerAngle)
deepcopy(e::EulerAngle)EulerAxis
EulerAxis
as_vector(e::EulerAxis)
as_matrix(e::EulerAxis)
copy(e::EulerAxis)
deepcopy(e::EulerAxis)