|
Earth Observation Mission CFI Software Pointing Software User Manual |
|
Class for storing the Satellite Nominal Attitude configuration parameters. More...
Public Member Functions | |
| SatNomTransId () | |
| Empty Class constructor. | |
| ~SatNomTransId () throw (CfiError) | |
| Class destructor. | |
| void | init (long aocsModel) throw (CfiError) |
| Initialise using AOCS model. | |
| void | init (long model, const vector< double > &modelParams) throw (CfiError) |
| Initialise satellite nominal attitude model for a given satellite. | |
| void | init (long angleType, const vector< long > &harmTypePitch, const vector< long > &harmTypeRoll, const vector< long > &harmTypeYaw, const vector< double > &harmCoeffPitch, const vector< double > &harmCoeffRoll, const vector< double > &harmCoeffYaw) throw (CfiError) |
| Initialise satellite orbital to satellite nominal attitude mispointing angles for a given satellite with harmonics. | |
| void | init (const TimeCorrelation &timeId, const vector< string > &files, long timeInitMode, long timeRef, double time0, double time1) throw (CfiError) |
| Initialise satellite nominal attitude angles for a given satellite reading values from the attitude files. | |
| long | getAOCS () const throw (CfiError) |
| Get AOCS parameters. | |
| void | setAOCS (long aocsModel) throw (CfiError) |
| Change initialisation AOCS parameters from the object. | |
| ParamModel | getParam () const throw (CfiError) |
| Get initialisation parameters of object. | |
| void | setParam (const ParamModel ¶mModel) throw (CfiError) |
| Change initialisation parameters of the object. | |
| HarmonicModel | getHarmonic () const throw (CfiError) |
| Get harmonic parameters of object. | |
| void | setHarmonic (const HarmonicModel &harmModel) throw (CfiError) |
| Change harmonic parameters of the object. | |
| AttFileModel | getFile () const throw (CfiError) |
| Get file data of object. | |
| void | setFile (const AttFileModel &fileModel) throw (CfiError) |
| Change initialisation file data of the object. | |
| void | setAzElDefinition (const AzElDefinition &azElDef) throw (CfiError) |
| Set azimuth/elevation definition. | |
| SatId | satId () const |
| Return satellite id. | |
Protected Member Functions | |
| GenericId * | getId () |
| Get the id. | |
| void | eraseObject () throw (CfiError) |
| Erase object and free memory. | |
Class for storing the Satellite Nominal Attitude configuration parameters.
| EECFI::SatNomTransId::SatNomTransId | ( | ) |
Empty Class constructor.
| EECFI::SatNomTransId::~SatNomTransId | ( | ) | throw (CfiError) |
Class destructor.
References eraseObject().
| void EECFI::SatNomTransId::eraseObject | ( | ) | throw (CfiError) [protected] |
Erase object and free memory.
References EECFI::CfiId::status(), EECFI::CfiId::subtractInstance(), and EECFI::CfiClass::throwWarn.
Referenced by ~SatNomTransId().
| long EECFI::SatNomTransId::getAOCS | ( | ) | const throw (CfiError) |
Get AOCS parameters.
References EECFI::CfiError::addMsg(), and EECFI::CfiClass::throwWarn.
| AttFileModel EECFI::SatNomTransId::getFile | ( | ) | const throw (CfiError) |
Get file data of object.
References EECFI::CfiError::addMsg(), EECFI::AttFileModel::attData, EECFI::AttFileModel::dataType, EECFI::AttFileModel::fileModel, EECFI::AttFileModel::inertialFrame, EECFI::AttFileModel::maxGap, EECFI::CfiClass::throwWarn, EECFI::AttFileModel::valTime0, and EECFI::AttFileModel::valTime1.
| HarmonicModel EECFI::SatNomTransId::getHarmonic | ( | ) | const throw (CfiError) |
Get harmonic parameters of object.
References EECFI::CfiError::addMsg(), EECFI::HarmonicModel::angleType, EECFI::HarmonicData::harmonicCoeffPitch, EECFI::HarmonicData::harmonicCoeffRoll, EECFI::HarmonicData::harmonicCoeffYaw, EECFI::HarmonicModel::harmonicData, EECFI::HarmonicData::harmonicTypePitch, EECFI::HarmonicData::harmonicTypeRoll, EECFI::HarmonicData::harmonicTypeYaw, and EECFI::CfiClass::throwWarn.
| GenericId * EECFI::SatNomTransId::getId | ( | ) | [protected] |
Get the id.
| ParamModel EECFI::SatNomTransId::getParam | ( | ) | const throw (CfiError) |
Get initialisation parameters of object.
References EECFI::CfiError::addMsg(), EECFI::ParamModel::model, EECFI::ParamModel::modelParam, and EECFI::CfiClass::throwWarn.
| void EECFI::SatNomTransId::init | ( | long | model, | |
| const vector< double > & | modelParams | |||
| ) | throw (CfiError) |
Initialise satellite nominal attitude model for a given satellite.
| model | Model (SatNominalAttModelEnum). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| modelParams | Vector with parameters of the corresponding model.
Generic Model descriptionThe generic model builds the reference frames from the specified direction vectors.The model parameters are:
** Sun-Fixed Reference Frame
|
References EECFI::CfiError::addMsg().
| void EECFI::SatNomTransId::init | ( | long | aocsModel | ) | throw (CfiError) |
Initialise using AOCS model.
| aocsModel | AOCS model (SatNominalAttAocsModeEnum). |
| void EECFI::SatNomTransId::init | ( | const TimeCorrelation & | timeId, | |
| const vector< string > & | files, | |||
| long | timeInitMode, | |||
| long | timeRef, | |||
| double | time0, | |||
| double | time1 | |||
| ) | throw (CfiError) |
Initialise satellite nominal attitude angles for a given satellite reading values from the attitude files.
| void EECFI::SatNomTransId::init | ( | long | angleType, | |
| const vector< long > & | harmTypePitch, | |||
| const vector< long > & | harmTypeRoll, | |||
| const vector< long > & | harmTypeYaw, | |||
| const vector< double > & | harmCoefPitch, | |||
| const vector< double > & | harmCoefRoll, | |||
| const vector< double > & | harmCoefYaw | |||
| ) | throw (CfiError) |
Initialise satellite orbital to satellite nominal attitude mispointing angles for a given satellite with harmonics.
The Attitude::compute and Attitude::changeFrame functions will then compute the values as follows:
| angleType | Type of angle (given by PointingAngleTypeEnum). | |
| harmTypePitch | Type of coefficients:
. | |
| harmTypeRoll | Type of coefficients (bias, sinus, cosinus). | |
| harmTypeYaw | Type of coefficients (bias, sinus, cosinus). | |
| harmCoefPitch | Bias, sinus and cosinus coefficients for the pitch angle. | |
| harmCoefRoll | Bias, sinus and cosinus coefficients for the roll angle. | |
| harmCoefYaw | Bias, sinus and cosinus coefficients for the yaw angle. |
References EECFI::CfiError::addMsg().
| SatId EECFI::SatNomTransId::satId | ( | ) | const |
Return satellite id.
| void EECFI::SatNomTransId::setAOCS | ( | long | aocsModel | ) | throw (CfiError) |
Change initialisation AOCS parameters from the object.
| aocsModel | AOCS model. |
References EECFI::CfiError::addMsg().
| void EECFI::SatNomTransId::setAzElDefinition | ( | const AzElDefinition & | azElDef | ) | throw (CfiError) |
Set azimuth/elevation definition.
| azElDef | Definition of azimuth and elevation. |
| void EECFI::SatNomTransId::setFile | ( | const AttFileModel & | fileModel | ) | throw (CfiError) |
Change initialisation file data of the object.
| fileModel | File model data. |
References EECFI::CfiError::addMsg().
| void EECFI::SatNomTransId::setHarmonic | ( | const HarmonicModel & | harmonicModel | ) | throw (CfiError) |
Change harmonic parameters of the object.
| harmonicModel | Harmonic model data. |
References EECFI::CfiError::addMsg().
| void EECFI::SatNomTransId::setParam | ( | const ParamModel & | paramModel | ) | throw (CfiError) |
Change initialisation parameters of the object.
| paramModel | Parameters of model. |
References EECFI::CfiError::addMsg().
1.7.1