Ginan
|
Data Structures | |
struct | OrbexEntry |
ORBEX entry to write out. More... | |
Functions | |
void | writeOrbexHeader (std::fstream &orbexStream, GTime time, map< E_Sys, bool > &outSys, OrbexFileData &outFileDat) |
Write ORBEX header lines and header blocks including FILE/DESCRIPTION and SATELLITE/ID_AND_DESCRIPTION block. | |
bool | writePVCS (std::fstream &orbexStream, OrbexEntry &entry, E_OrbexRecord recType) |
Write PCS or VCS records. | |
bool | writePV (std::fstream &orbexStream, OrbexEntry &entry, E_OrbexRecord recType) |
Write POS or VEL records. | |
bool | writeClk (std::fstream &orbexStream, OrbexEntry &entry, E_OrbexRecord recType) |
Write CLK or CRT records. | |
bool | writeAtt (std::fstream &orbexStream, OrbexEntry &entry, E_OrbexRecord recType) |
Write ATT records. | |
void | updateOrbexBody (string &filename, map< int, OrbexEntry > &entryList, GTime time, map< E_Sys, bool > &outSys, OrbexFileData &outFileDat) |
Write EPHEMERIS/DATA block and update END_TIME line. | |
void | writeSysSetOrbex (string filename, GTime time, map< E_Sys, bool > &outSys, OrbexFileData &outFileDat, vector< E_Source > orbDataSrcs, vector< E_Source > clkDataSrcs, vector< E_Source > attDataSrcs, KFState *kfState_ptr) |
Retrieve satellite orbits, clocks and attitudes for all included systems and write out to an ORBEX file. | |
void | outputOrbex (string filename, GTime time, vector< E_Source > orbDataSrcs, vector< E_Source > clkDataSrcs, vector< E_Source > attDataSrcs, KFState *kfState_ptr) |
Output ORBEX files. | |
void outputOrbex | ( | string | filename, |
GTime | time, | ||
vector< E_Source > | orbDataSrcs, | ||
vector< E_Source > | clkDataSrcs, | ||
vector< E_Source > | attDataSrcs, | ||
KFState * | kfState_ptr ) |
Output ORBEX files.
filename | File to write to |
time | Epoch time (GPST) |
orbDataSrcs | Data source for satellite positions & velocities |
clkDataSrcs | Data source for satellite clocks |
attDataSrcs | Data source for satellite attitudes |
kfState_ptr | Pointer to a kalman filter to take values from |
void updateOrbexBody | ( | string & | filename, |
map< int, OrbexEntry > & | entryList, | ||
GTime | time, | ||
map< E_Sys, bool > & | outSys, | ||
OrbexFileData & | outFileDat ) |
Write EPHEMERIS/DATA block and update END_TIME line.
filename | File path to output file |
entryList | List of data to print |
time | Epoch time (GPST) |
outSys | Systems to include in file |
outFileDat | Current file editing information |
bool writeAtt | ( | std::fstream & | orbexStream, |
OrbexEntry & | entry, | ||
E_OrbexRecord | recType ) |
Write ATT records.
orbexStream | Output stream |
entry | ORBEX entry to write out |
recType | Record type |
bool writeClk | ( | std::fstream & | orbexStream, |
OrbexEntry & | entry, | ||
E_OrbexRecord | recType ) |
Write CLK or CRT records.
orbexStream | Output stream |
entry | ORBEX entry to write out |
recType | Record type |
void writeOrbexHeader | ( | std::fstream & | orbexStream, |
GTime | time, | ||
map< E_Sys, bool > & | outSys, | ||
OrbexFileData & | outFileDat ) |
Write ORBEX header lines and header blocks including FILE/DESCRIPTION and SATELLITE/ID_AND_DESCRIPTION block.
orbexStream | Output stream |
time | Epoch time (GPST) |
outSys | Systems to include in file |
outFileDat | File editing information for ORBEX writing |
bool writePV | ( | std::fstream & | orbexStream, |
OrbexEntry & | entry, | ||
E_OrbexRecord | recType ) |
Write POS or VEL records.
orbexStream | Output stream |
entry | ORBEX entry to write out |
recType | Record type |
bool writePVCS | ( | std::fstream & | orbexStream, |
OrbexEntry & | entry, | ||
E_OrbexRecord | recType ) |
Write PCS or VCS records.
orbexStream | Output stream |
entry | ORBEX entry to write out |
recType | Record type |
void writeSysSetOrbex | ( | string | filename, |
GTime | time, | ||
map< E_Sys, bool > & | outSys, | ||
OrbexFileData & | outFileDat, | ||
vector< E_Source > | orbDataSrcs, | ||
vector< E_Source > | clkDataSrcs, | ||
vector< E_Source > | attDataSrcs, | ||
KFState * | kfState_ptr ) |
Retrieve satellite orbits, clocks and attitudes for all included systems and write out to an ORBEX file.
filename | File path to output file |
time | Epoch time (GPST) |
outSys | Systems to include in file |
outFileDat | Current file editing information |
orbDataSrcs | Data source for satellite positions & velocities |
clkDataSrcs | Data source for satellite clocks |
attDataSrcs | Data source for satellite attitudes |
kfState_ptr | Pointer to a kalman filter to take values from |