Ginan
Loading...
Searching...
No Matches
RtcmEncoder Struct Reference
Inheritance diagram for RtcmEncoder:
Collaboration diagram for RtcmEncoder:

Public Member Functions

 RtcmEncoder (string rtcmMountpoint="", string rtcmTraceFilename="")
 
void encodeWriteMessages (std::ostream &outputStream)
 
bool encodeWriteMessageToBuffer (vector< uint8_t > &buffer)
 
vector< uint8_t > encodeTimeStampRTCM ()
 
int encodeSsrHeader (unsigned char *buf, E_Sys sys, RtcmMessageType messCode, SSRMeta &ssrMeta, int iod, int dispBiasConistInd=-1, int MWConistInd=-1)
 encode SSR header information
 
vector< uint8_t > encodeSsrOrbClk (SsrOutMap &ssrOutMap, RtcmMessageType messCode)
 encode orbit/clock messages
 
vector< uint8_t > encodeSsrUra (SsrOutMap &ssrOutMap, RtcmMessageType messCode)
 encode URA messages
 
vector< uint8_t > encodeSsrCode (SsrCBMap &ssrCBMap, RtcmMessageType messCode)
 encode code bias messages
 
vector< uint8_t > encodeSsrPhase (SsrPBMap &ssrPBMap, RtcmMessageType messCode)
 encode phase bias messages
 
vector< uint8_t > encodeEphemeris (Eph &eph, RtcmMessageType messCode)
 encode GPS/GAL/BDS/QZS ephemeris messages
 
vector< uint8_t > encodeEphemeris (Geph &geph, RtcmMessageType messCode)
 encode GLO ephemeris messages
 
- Public Member Functions inherited from RtcmTrace
 RtcmTrace (string mountpoint="", string filename="")
 
void networkLog (string message)
 
void messageChunkLog (string message)
 
void messageRtcmLog (string message)
 
void traceSsrEph (RtcmMessageType messCode, SatSys Sat, SSREph &ssrEph)
 
void traceSsrClk (RtcmMessageType messCode, SatSys Sat, SSRClk &ssrClk)
 
void traceSsrUra (RtcmMessageType messCode, SatSys Sat, SSRUra &ssrUra)
 
void traceSsrHRClk (RtcmMessageType messCode, SatSys Sat, SSRHRClk &ssrHRClk)
 
void traceSsrCodeBias (RtcmMessageType messCode, SatSys Sat, E_ObsCode code, SSRCodeBias &ssrBias)
 
void traceSsrPhasBias (RtcmMessageType messCode, SatSys Sat, E_ObsCode code, SSRPhasBias &ssrBias)
 
void traceTimestamp (GTime time)
 
void traceBrdcEph (RtcmMessageType messCode, Eph &eph)
 Write decoded/encoded GPS/GAL/BDS/QZS ephemeris messages to a json file.
 
void traceBrdcEph (RtcmMessageType messCode, Geph &geph)
 Write decoded/encoded GAL ephemeris messages to a json file.
 
void traceMSM (RtcmMessageType messCode, GTime time, SatSys Sat, Sig &sig)
 Write msm message to a json file.
 
void traceUnknown ()
 Write unknown message to a json file.
 

Static Public Member Functions

static int getUdiIndex (int udi)
 

Data Fields

vector< uint8_t > data
 
int masterIod = 1
 
SsrEphMap lastRegSsrEphMap
 last SSR orbit corrections uploaded, used to check IODE's
 
SsrClkMap lastRegSsrClkMap
 last regular SSR clock corrections uploaded, used to calculate high rate SSR clock corrections
 
- Data Fields inherited from RtcmTrace
string rtcmTraceFilename = ""
 
string rtcmMountpoint
 
bool qzssL6 = false
 

Static Public Attributes

static constexpr int updateInterval [16]
 

Constructor & Destructor Documentation

◆ RtcmEncoder()

RtcmEncoder::RtcmEncoder ( string rtcmMountpoint = "",
string rtcmTraceFilename = "" )
inline

Member Function Documentation

◆ encodeEphemeris() [1/2]

vector< uint8_t > RtcmEncoder::encodeEphemeris ( Eph & eph,
RtcmMessageType messCode )

encode GPS/GAL/BDS/QZS ephemeris messages

Parameters
ephephemeris to encode
messCodeRTCM message code to encode ephemeris of
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encodeEphemeris() [2/2]

vector< uint8_t > RtcmEncoder::encodeEphemeris ( Geph & geph,
RtcmMessageType messCode )

encode GLO ephemeris messages

Parameters
gephephemeris to encode
messCodeRTCM message code to encode ephemeris of
Here is the call graph for this function:

◆ encodeSsrCode()

vector< uint8_t > RtcmEncoder::encodeSsrCode ( SsrCBMap & ssrCBMap,
RtcmMessageType messCode )

encode code bias messages

Parameters
ssrCBMapcode biases to encode
messCodeRTCM message code to encode ephemeris of
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encodeSsrHeader()

int RtcmEncoder::encodeSsrHeader ( unsigned char * buf,
E_Sys sys,
RtcmMessageType messCode,
SSRMeta & ssrMeta,
int iod,
int dispBiasConistInd = -1,
int MWConistInd = -1 )

encode SSR header information

Parameters
bufbyte data
syssystem to encode
messCodeRTCM message code to encode ephemeris of
ssrMetaSSR metadata
iodIOD SSR
dispBiasConistIndDispersive Bias Consistency Indicator (for phase bias only)
MWConistIndMW Consistency Indicator (for phase bias only)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encodeSsrOrbClk()

vector< uint8_t > RtcmEncoder::encodeSsrOrbClk ( SsrOutMap & ssrOutMap,
RtcmMessageType messCode )

encode orbit/clock messages

Parameters
ssrOutMaporbits/clocks to encode
messCodeRTCM message code to encode ephemeris of
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encodeSsrPhase()

vector< uint8_t > RtcmEncoder::encodeSsrPhase ( SsrPBMap & ssrPBMap,
RtcmMessageType messCode )

encode phase bias messages

Parameters
ssrPBMapphase biases to encode
messCodeRTCM message code to encode ephemeris of
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encodeSsrUra()

vector< uint8_t > RtcmEncoder::encodeSsrUra ( SsrOutMap & ssrOutMap,
RtcmMessageType messCode )

encode URA messages

Parameters
ssrOutMapURAs to encode
messCodeRTCM message code to encode ephemeris of
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encodeTimeStampRTCM()

vector< uint8_t > RtcmEncoder::encodeTimeStampRTCM ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encodeWriteMessages()

void RtcmEncoder::encodeWriteMessages ( std::ostream & outputStream)
Here is the caller graph for this function:

◆ encodeWriteMessageToBuffer()

bool RtcmEncoder::encodeWriteMessageToBuffer ( vector< uint8_t > & buffer)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getUdiIndex()

int RtcmEncoder::getUdiIndex ( int udi)
static
Here is the caller graph for this function:

Field Documentation

◆ data

vector<uint8_t> RtcmEncoder::data

◆ lastRegSsrClkMap

SsrClkMap RtcmEncoder::lastRegSsrClkMap

last regular SSR clock corrections uploaded, used to calculate high rate SSR clock corrections

◆ lastRegSsrEphMap

SsrEphMap RtcmEncoder::lastRegSsrEphMap

last SSR orbit corrections uploaded, used to check IODE's

◆ masterIod

int RtcmEncoder::masterIod = 1

◆ updateInterval

int RtcmEncoder::updateInterval[16]
staticconstexpr
Initial value:
=
{
1, 2, 5, 10, 15, 30, 60, 120, 240, 300, 600, 900, 1800, 3600, 7200, 10800
}

The documentation for this struct was generated from the following files: