public class APMFile extends ADMFile
Modifier and Type | Class and Description |
---|---|
static class |
APMFile.APMManeuver
Maneuver in an APM file.
|
Constructor and Description |
---|
APMFile()
APMFile constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addManeuver(APMFile.APMManeuver maneuver)
Add a maneuver.
|
String |
getAttitudeQuaternionDirection()
Get the rotation direction of the attitude quaternion.
|
AbsoluteDate |
getEpoch()
Get the epoch of the data.
|
List<String> |
getEpochComment()
Get the comment for epoch.
|
List<String> |
getEulerComment()
Get the comment for Euler angles.
|
String |
getEulerDirection()
Get the rotation direction of the attitude Euler angles (A2B or B2A).
|
String |
getEulerFrameAString()
Get the reference frame specifying one frame of the transformation.
|
String |
getEulerFrameBString()
Get the reference frame specifying the second portion of the transformation.
|
String |
getEulerRotSeq()
Get the rotation order of Euler angles (X=1, Y=2, Z=3).
|
boolean |
getHasManeuver()
Get boolean testing whether the APM contains at least one maneuver.
|
double |
getI11()
Get the moment of Inertia about the 1-axis (N.m²).
|
double |
getI12()
Get the moment of Inertia about the 1 and 2 axes (N.m²).
|
double |
getI13()
Get the moment of Inertia about the 1 and 3 axes (N.m²).
|
double |
getI22()
Get the moment of Inertia about the 2-axis (N.m²).
|
double |
getI23()
Get the moment of Inertia about the 2 and 3 axes (N.m²).
|
double |
getI33()
Get the moment of Inertia about the 3-axis (N.m²).
|
String |
getInertiaRefFrameString()
Get the coordinate system for the inertia tensor.
|
APMFile.APMManeuver |
getManeuver(int index)
Get a maneuver.
|
List<APMFile.APMManeuver> |
getManeuvers()
Get a list of all maneuvers.
|
ADMMetaData |
getMetaData()
Get the meta data.
|
List<String> |
getMetaDataComment()
Get the comment for meta-data.
|
int |
getNbManeuvers()
Get the number of maneuvers present in the APM.
|
double |
getNutation()
Get the nutation angle of spin axis (rad).
|
double |
getNutationPeriod()
Get the body nutation period of the spin axis (s).
|
double |
getNutationPhase()
Get the inertial nutation phase (rad).
|
Quaternion |
getQuaternion()
Get the quaternion.
|
Quaternion |
getQuaternionDot()
Get the derivative of the quaternion.
|
String |
getQuaternionFrameAString()
Get the reference frame specifying one frame of the transformation.
|
String |
getQuaternionFrameBString()
Get the reference frame specifying the second portion of the transformation.
|
String |
getRateFrameString()
Get the frame of reference in which the Euler angles are expressed.
|
Vector3D |
getRotationAngles()
Get the coordinates of the Euler angles (rad).
|
Vector3D |
getRotationRates()
Get the rates of the Euler angles (rad/s).
|
List<String> |
getSpacecraftComment()
Get the comment for spacecraft.
|
double |
getSpinAlpha()
Get the right ascension of spin axis vector (rad).
|
double |
getSpinAngle()
Get the phase of the satellite about the spin axis (rad).
|
double |
getSpinAngleVel()
Get the angular velocity of satellite around spin axis (rad/s).
|
List<String> |
getSpinComment()
Get the comment for spin data.
|
double |
getSpinDelta()
Get the declination of the spin axis vector (rad).
|
String |
getSpinDirection()
Get the rotation direction of the Spin angles.
|
String |
getSpinFrameAString()
Get the reference frame specifying one frame of the transformation (spin).
|
String |
getSpinFrameBString()
Get the reference frame specifying the second portion of the transformation (spin).
|
void |
setAttitudeQuaternionDirection(String direction)
Set the rotation direction of the attitude quaternion.
|
void |
setEpoch(AbsoluteDate epoch)
Set the epoch of the data.
|
void |
setEpochComment(List<String> comment)
Set the comment for epoch.
|
void |
setEulerComment(List<String> comment)
Set the comment for Euler angles.
|
void |
setEulerDirection(String direction)
Set the rotation direction of the attitude Euler angles (A2B or B2A).
|
void |
setEulerFrameAString(String frame)
Set the reference frame specifying one frame of the transformation.
|
void |
setEulerFrameBString(String frame)
Set the reference frame specifying the second portion of the transformation.
|
void |
setEulerRotSeq(String eulerRotSeq)
Set the rotation order for Euler angles (X=1, Y=2, Z=3).
|
void |
setI11(double i11)
Set the moment of Inertia about the 1-axis (N.m²).
|
void |
setI12(double i12)
Set the moment of Inertia about the 1 and 2 axes (N.m²).
|
void |
setI13(double i13)
Set the moment of Inertia about the 1 and 3 axes (N.m²).
|
void |
setI22(double i22)
Set the moment of Inertia about the 2-axis (N.m²).
|
void |
setI23(double i23)
Set the moment of Inertia about the 2 and 3 axes (N.m²).
|
void |
setI33(double i33)
Set the moment of Inertia about the 3-axis (N.m²).
|
void |
setInertiaRefFrameString(String frame)
Set the coordinate system for the inertia tensor.
|
void |
setNutation(double nutation)
Set the nutation angle of spin axis (rad).
|
void |
setNutationPeriod(double period)
Set the body nutation period of the spin axis (s).
|
void |
setNutationPhase(double nutationPhase)
Set the inertial nutation phase (rad).
|
void |
setQuaternion(Quaternion q)
Set the quaternion.
|
void |
setQuaternionDot(Quaternion qDot)
Set the derivative of the quaternion.
|
void |
setQuaternionFrameAString(String frameA)
Set the reference frame specifying one frame of the transformation.
|
void |
setQuaternionFrameBString(String frameB)
Set the reference frame specifying the second portion of the transformation.
|
void |
setRateFrameString(String frame)
Set the frame of reference in which the Euler angles are expressed.
|
void |
setRotationAngles(Vector3D rotationAngles)
Set the coordinates of the Euler angles (rad).
|
void |
setRotationRates(Vector3D rotationRates)
Set the rates of the Euler angles (rad/s).
|
void |
setSpacecraftComment(List<String> comment)
Set the comment for spacecraft.
|
void |
setSpinAlpha(double spinAlpha)
Set the right ascension of spin axis vector (rad).
|
void |
setSpinAngle(double spinAngle)
Set the phase of the satellite about the spin axis (rad).
|
void |
setSpinAngleVel(double spinAngleVel)
Set the angular velocity of satellite around spin axis (rad/s).
|
void |
setSpinComment(List<String> comment)
Set the comment for spin data.
|
void |
setSpinDelta(double spinDelta)
Set the declination of the spin axis vector (rad).
|
void |
setSpinDirection(String direction)
Set the rotation direction of the Spin angles.
|
void |
setSpinFrameAString(String frame)
Set the reference frame specifying one frame of the transformation (spin).
|
void |
setSpinFrameBString(String frame)
Set the reference frame specifying the second portion of the transformation (spin).
|
getConventions, getCreationDate, getDataContext, getFormatVersion, getHeaderComment, getMissionReferenceDate, getMu, getOriginator, setConventions, setCreationDate, setDataContext, setFormatVersion, setHeaderComment, setMissionReferenceDate, setMu, setOriginator
public ADMMetaData getMetaData()
public AbsoluteDate getEpoch()
public void setEpoch(AbsoluteDate epoch)
epoch
- the epoch to be setpublic String getQuaternionFrameAString()
public void setQuaternionFrameAString(String frameA)
frameA
- the frame to be setpublic String getQuaternionFrameBString()
public void setQuaternionFrameBString(String frameB)
frameB
- the frame to be setpublic String getAttitudeQuaternionDirection()
public void setAttitudeQuaternionDirection(String direction)
direction
- rotation direction to be setpublic Quaternion getQuaternion()
public void setQuaternion(Quaternion q)
q
- quaternion to setpublic Quaternion getQuaternionDot()
public void setQuaternionDot(Quaternion qDot)
qDot
- quaternion to setpublic String getEulerFrameAString()
public void setEulerFrameAString(String frame)
frame
- the frame to be setpublic String getEulerFrameBString()
public void setEulerFrameBString(String frame)
frame
- the frame to be setpublic String getEulerDirection()
public void setEulerDirection(String direction)
direction
- direction to be setpublic String getEulerRotSeq()
public void setEulerRotSeq(String eulerRotSeq)
eulerRotSeq
- order to be setSpublic String getRateFrameString()
public void setRateFrameString(String frame)
frame
- frame to be setpublic Vector3D getRotationAngles()
public void setRotationAngles(Vector3D rotationAngles)
rotationAngles
- coordinates to be setpublic Vector3D getRotationRates()
public void setRotationRates(Vector3D rotationRates)
rotationRates
- coordinates to be setpublic String getSpinFrameAString()
public void setSpinFrameAString(String frame)
frame
- frame to be setpublic String getSpinFrameBString()
public void setSpinFrameBString(String frame)
frame
- frame to be setpublic String getSpinDirection()
public void setSpinDirection(String direction)
direction
- rotation direction to be setpublic double getSpinAlpha()
public void setSpinAlpha(double spinAlpha)
spinAlpha
- value to be setpublic double getSpinDelta()
public void setSpinDelta(double spinDelta)
spinDelta
- value to be setpublic double getSpinAngle()
public void setSpinAngle(double spinAngle)
spinAngle
- value to be setpublic double getSpinAngleVel()
public void setSpinAngleVel(double spinAngleVel)
spinAngleVel
- value to be setpublic double getNutation()
public void setNutation(double nutation)
nutation
- the nutation angle to be setpublic double getNutationPeriod()
public void setNutationPeriod(double period)
period
- the nutation period to be setpublic double getNutationPhase()
public void setNutationPhase(double nutationPhase)
nutationPhase
- the nutation phase to be setpublic String getInertiaRefFrameString()
public void setInertiaRefFrameString(String frame)
frame
- frame to be setpublic double getI11()
public void setI11(double i11)
i11
- moment of Inertia about the 1-axispublic double getI22()
public void setI22(double i22)
i22
- moment of Inertia about the 2-axispublic double getI33()
public void setI33(double i33)
i33
- moment of Inertia about the 3-axispublic double getI12()
public void setI12(double i12)
i12
- moment of Inertia about the 1 and 2 axespublic double getI13()
public void setI13(double i13)
i13
- moment of Inertia about the 1 and 3 axespublic double getI23()
public void setI23(double i23)
i23
- moment of Inertia about the 2 and 3 axespublic List<String> getEpochComment()
public void setEpochComment(List<String> comment)
comment
- comment to setpublic List<String> getEulerComment()
public void setEulerComment(List<String> comment)
comment
- comment to setpublic List<String> getSpinComment()
public void setSpinComment(List<String> comment)
comment
- comment to setpublic List<String> getSpacecraftComment()
public void setSpacecraftComment(List<String> comment)
comment
- comment to setpublic int getNbManeuvers()
public List<APMFile.APMManeuver> getManeuvers()
public APMFile.APMManeuver getManeuver(int index)
index
- maneuver index, counting from 0public void addManeuver(APMFile.APMManeuver maneuver)
maneuver
- maneuver to be setpublic boolean getHasManeuver()
Copyright © 2002-2020 CS GROUP. All rights reserved.