public enum AttitudeType extends Enum<AttitudeType>
| Enum Constant and Description |
|---|
EULER_ANGLE
Euler angles.
|
EULER_ANGLE_ANGVEL
Euler angles and angular velocity.
|
EULER_ANGLE_DERIVATIVE
Euler angles and rotation rate.
|
QUATERNION
Quaternion.
|
QUATERNION_ANGVEL
Quaternion and angular velocity.
|
QUATERNION_DERIVATIVE
Quaternion and derivatives.
|
QUATERNION_EULER_RATES
Quaternion and Euler angles rates (only in ADM V1).
|
SPIN
Spin.
|
SPIN_NUTATION
Spin and nutation.
|
SPIN_NUTATION_MOMENTUM
Spin and momentum.
|
| Modifier and Type | Method and Description |
|---|---|
abstract TimeStampedAngularCoordinates |
build(boolean isFirst,
boolean isExternal2SpacecraftBody,
org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence,
boolean isSpacecraftBodyRate,
AbsoluteDate date,
double... components)
Get the angular coordinates corresponding to the attitude data.
|
String[] |
createDataFields(boolean isFirst,
boolean isExternal2SpacecraftBody,
org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence,
boolean isSpacecraftBodyRate,
TimeStampedAngularCoordinates attitude)
Get the attitude data fields corresponding to the attitude type.
|
abstract double[] |
generateData(boolean isFirst,
boolean isExternal2SpacecraftBody,
org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence,
boolean isSpacecraftBodyRate,
TimeStampedAngularCoordinates attitude)
Generate the attitude data corresponding to the attitude type.
|
AngularDerivativesFilter |
getAngularDerivativesFilter()
Get the angular derivative filter corresponding to the attitude data.
|
String |
getName(double formatVersion)
Get the type name for a given format version.
|
TimeStampedAngularCoordinates |
parse(boolean isFirst,
boolean isExternal2SpacecraftBody,
org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence,
boolean isSpacecraftBodyRate,
ContextBinding context,
String[] fields)
Get the angular coordinates corresponding to the attitude data.
|
static AttitudeType |
parseType(String typeSpecification)
Parse an attitude type.
|
String |
toString() |
static AttitudeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttitudeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttitudeType QUATERNION
public static final AttitudeType QUATERNION_DERIVATIVE
public static final AttitudeType QUATERNION_EULER_RATES
public static final AttitudeType QUATERNION_ANGVEL
public static final AttitudeType EULER_ANGLE
public static final AttitudeType EULER_ANGLE_DERIVATIVE
public static final AttitudeType EULER_ANGLE_ANGVEL
public static final AttitudeType SPIN
public static final AttitudeType SPIN_NUTATION
public static final AttitudeType SPIN_NUTATION_MOMENTUM
public static AttitudeType[] values()
for (AttitudeType c : AttitudeType.values()) System.out.println(c);
public static AttitudeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName(double formatVersion)
formatVersion - format versionpublic String toString()
toString in class Enum<AttitudeType>public static AttitudeType parseType(String typeSpecification)
typeSpecification - unnormalized type namepublic String[] createDataFields(boolean isFirst, boolean isExternal2SpacecraftBody, org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence, boolean isSpacecraftBodyRate, TimeStampedAngularCoordinates attitude)
This method returns the components in CCSDS units (i.e. degrees, degrees per seconds…).
isFirst - if true the first quaternion component is the scalar componentisExternal2SpacecraftBody - true attitude is from external frame to spacecraft body frameeulerRotSequence - sequance of Euler anglesisSpacecraftBodyRate - if true Euler rates are specified in spacecraft body frameattitude - angular coordinates, using Attitude convention
(i.e. from inertial frame to spacecraft frame)public abstract double[] generateData(boolean isFirst,
boolean isExternal2SpacecraftBody,
org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence,
boolean isSpacecraftBodyRate,
TimeStampedAngularCoordinates attitude)
This method returns the components in SI units.
isFirst - if true the first quaternion component is the scalar componentisExternal2SpacecraftBody - true attitude is from external frame to spacecraft body frameeulerRotSequence - sequance of Euler anglesisSpacecraftBodyRate - if true Euler rates are specified in spacecraft body frameattitude - angular coordinates, using Attitude convention
(i.e. from inertial frame to spacecraft frame)public TimeStampedAngularCoordinates parse(boolean isFirst, boolean isExternal2SpacecraftBody, org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence, boolean isSpacecraftBodyRate, ContextBinding context, String[] fields)
This method assumes the text fields are in CCSDS units and will convert to SI units.
isFirst - if true the first quaternion component is the scalar componentisExternal2SpacecraftBody - true attitude is from external frame to spacecraft body frameeulerRotSequence - sequance of Euler anglesisSpacecraftBodyRate - if true Euler rates are specified in spacecraft body framecontext - context bindingfields - raw data fieldsAttitude convention
(i.e. from inertial frame to spacecraft frame)public abstract TimeStampedAngularCoordinates build(boolean isFirst, boolean isExternal2SpacecraftBody, org.hipparchus.geometry.euclidean.threed.RotationOrder eulerRotSequence, boolean isSpacecraftBodyRate, AbsoluteDate date, double... components)
isFirst - if true the first quaternion component is the scalar componentisExternal2SpacecraftBody - true attitude is from external frame to spacecraft body frameeulerRotSequence - sequance of Euler anglesisSpacecraftBodyRate - if true Euler rates are specified in spacecraft body framedate - entry datecomponents - entry components with SI units, semantic depends on attitude typeAttitude convention
(i.e. from inertial frame to spacecraft frame)public AngularDerivativesFilter getAngularDerivativesFilter()
Copyright © 2002-2023 CS GROUP. All rights reserved.