Ginan
Loading...
Searching...
No Matches
orbex.cpp File Reference

Functions

FileType OBX__ ()
 
E_Sys code2sys (char code)
 Satellite code to satellite system.
 
int readOrbexHeader (ifstream &fileStream, double &ver)
 Read and check the two header lines from an orbex file.
 
bool readOrbexFileDesc (ifstream &fileStream, E_TimeSys &tsys, E_ObxFrame &frame)
 Read necessary information, e.g.
 
bool readOrbexSatId (ifstream &fileStream)
 Read SATELLITE/ID_AND_DESCRIPTION block Note: This function is currently not fully implemented, satellite ID's are read from EPHEMERIS/DATA block.
 
bool readOrbexEph (ifstream &fileStream, Navigation &nav, E_TimeSys tsys=E_TimeSys::GPST, E_ObxFrame frame=E_ObxFrame::ECEF)
 Read EPHEMERIS/DATA block Note: Only ATT record type is supported currently.
 
void readOrbex (string filepath, Navigation &nav)
 Read an ORBEX file into navigation data struct.
 

Function Documentation

◆ code2sys()

E_Sys code2sys ( char code)

Satellite code to satellite system.

Satellite code to satellite system.

Here is the caller graph for this function:

◆ OBX__()

FileType OBX__ ( )
Here is the caller graph for this function:

◆ readOrbex()

void readOrbex ( string filepath,
Navigation & nav )

Read an ORBEX file into navigation data struct.

Parameters
filepathFile path to output file
navNavigation data
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readOrbexEph()

bool readOrbexEph ( ifstream & fileStream,
Navigation & nav,
E_TimeSys tsys = E_TimeSys::GPST,
E_ObxFrame frame = E_ObxFrame::ECEF )

Read EPHEMERIS/DATA block Note: Only ATT record type is supported currently.

Parameters
fileStreamStream to read content from
navNavigation data
tsysTime system
frameFrame type
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readOrbexFileDesc()

bool readOrbexFileDesc ( ifstream & fileStream,
E_TimeSys & tsys,
E_ObxFrame & frame )

Read necessary information, e.g.

time system & frame type, from the FILE/DESCRIPTION block Note: Only TIME_SYSTEM and FRAME_TYPE are read currently

Parameters
fileStreamStream to read content from
tsysTime system
frameFrame type
Here is the caller graph for this function:

◆ readOrbexHeader()

int readOrbexHeader ( ifstream & fileStream,
double & ver )

Read and check the two header lines from an orbex file.

Parameters
fileStreamStream to read content from
verORBEX version
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readOrbexSatId()

bool readOrbexSatId ( ifstream & fileStream)

Read SATELLITE/ID_AND_DESCRIPTION block Note: This function is currently not fully implemented, satellite ID's are read from EPHEMERIS/DATA block.

Parameters
fileStreamStream to read content from
Here is the caller graph for this function: