Enum RateElementsType
- java.lang.Object
-
- java.lang.Enum<RateElementsType>
-
- org.orekit.files.ccsds.ndm.adm.acm.RateElementsType
-
- All Implemented Interfaces:
Serializable
,Comparable<RateElementsType>
public enum RateElementsType extends Enum<RateElementsType>
Attitude rate element set type used in CCSDSAttitude Comprehensive Messages
.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANGVEL
Angular velocity.EULER_RATE
Euler rates.GYRO_BIAS
Correction to gyro rates.NONE
No rates.Q_DOT
Quaternion derivatives.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<Unit>
getUnits()
Get the elements units.abstract TimeStampedAngularCoordinates
toAngular(AbsoluteDate date, RotationOrder order, Rotation rotation, int first, double[] elements)
Convert to angyla coordinates.String
toString()
static RateElementsType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RateElementsType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANGVEL
public static final RateElementsType ANGVEL
Angular velocity.
-
Q_DOT
public static final RateElementsType Q_DOT
Quaternion derivatives.
-
EULER_RATE
public static final RateElementsType EULER_RATE
Euler rates.
-
GYRO_BIAS
public static final RateElementsType GYRO_BIAS
Correction to gyro rates.
-
NONE
public static final RateElementsType NONE
No rates.
-
-
Method Detail
-
values
public static RateElementsType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RateElementsType c : RateElementsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RateElementsType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toAngular
public abstract TimeStampedAngularCoordinates toAngular(AbsoluteDate date, RotationOrder order, Rotation rotation, int first, double[] elements)
Convert to angyla coordinates.- Parameters:
date
- dateorder
- rotation order for Euler anglesrotation
- rotationfirst
- index of the first element to considerelements
- elements values in SI units- Returns:
- rotation
-
toString
public String toString()
- Overrides:
toString
in classEnum<RateElementsType>
-
-