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

Public Member Functions

int adjGpsWeek (int week)
 adjust GPS week number according to RTCM time
 
int adjGstWeek (int week)
 adjust GST week number according to RTCM time
 
int adjBdtWeek (int week)
 adjust BDT week number according to RTCM time
 
void traceLatency (GTime gpsTime)
 
E_ObsCode signal_to_code (E_Sys sys, uint8_t signal)
 
GTime rtcmTime ()
 
void decodeEphemeris (vector< unsigned char > &message)
 decode RTCM navigation messages
 
void decodeSSR (vector< unsigned char > &message)
 decode RTCM SSR messages
 
GTime decodeCustomTimestamp (vector< unsigned char > &message)
 
E_RTCMSubmessage decodeCustomId (vector< unsigned char > &message)
 
ObsList decodeMSM (vector< unsigned char > &message)
 
void recordFrame (vector< unsigned char > &data, unsigned int crcRead)
 
E_ReturnType decodeCustom (vector< unsigned char > &message)
 
E_ReturnType decode (vector< unsigned char > &message)
 
- 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.
 
- Public Member Functions inherited from PacketStatistics
void printPacketStatistics (Trace &trace)
 
void checksumFailure (string id="")
 
void checksumSuccess (unsigned int crcRead=0)
 
void nonFrameByteFound (unsigned char c)
 
void preambleFound ()
 
void frameDecoded ()
 

Static Public Member Functions

static uint16_t message_length (char header[2])
 
static RtcmMessageType message_type (const uint8_t message[])
 

Data Fields

GTime lastTimeStamp
 
GTime receivedTime
 Recent internal time from decoded rtcm messages.
 
ObsList superObsList
 List to accumulate observations from smaller lists which share a common time.
 
GTime rtcmTimestampTime
 
GWeek rtcmWeek = -1
 
string recordFilename
 
- Data Fields inherited from RtcmTrace
string rtcmTraceFilename = ""
 
string rtcmMountpoint
 
bool qzssL6 = false
 
- Data Fields inherited from ObsLister
list< ObsListobsListList
 
- Data Fields inherited from PacketStatistics
long int numPreambleFound = 0
 
long int numFramesFailedCRC = 0
 
long int numFramesPassCRC = 0
 
long int numFramesDecoded = 0
 
long int numNonMessBytes = 0
 
long int numMessagesLatency = 0
 
double totalLatency = 0
 

Static Public Attributes

static double rtcmDeltaTime = 0
 Common time used among all rtcmDecoders for delaying decoding when realtime is enabled.
 
static map< GTime, intreceivedTimeMap
 
static constexpr int updateInterval [16]
 

Member Function Documentation

◆ adjBdtWeek()

int RtcmDecoder::adjBdtWeek ( int week)

adjust BDT week number according to RTCM time

Parameters
weeknot-adjusted BDT week number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ adjGpsWeek()

int RtcmDecoder::adjGpsWeek ( int week)

adjust GPS week number according to RTCM time

Parameters
weeknot-adjusted GPS week number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ adjGstWeek()

int RtcmDecoder::adjGstWeek ( int week)

adjust GST week number according to RTCM time

Parameters
weeknot-adjusted GST week number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decode()

E_ReturnType RtcmDecoder::decode ( vector< unsigned char > & message)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeCustom()

E_ReturnType RtcmDecoder::decodeCustom ( vector< unsigned char > & message)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeCustomId()

E_RTCMSubmessage RtcmDecoder::decodeCustomId ( vector< unsigned char > & message)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeCustomTimestamp()

GTime RtcmDecoder::decodeCustomTimestamp ( vector< unsigned char > & message)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeEphemeris()

void RtcmDecoder::decodeEphemeris ( vector< unsigned char > & data)

decode RTCM navigation messages

Parameters
datastream data
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeMSM()

ObsList RtcmDecoder::decodeMSM ( vector< unsigned char > & message)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ decodeSSR()

void RtcmDecoder::decodeSSR ( vector< unsigned char > & data)

decode RTCM SSR messages

Parameters
datastream data
Here is the call graph for this function:
Here is the caller graph for this function:

◆ message_length()

static uint16_t RtcmDecoder::message_length ( char header[2])
static

◆ message_type()

static RtcmMessageType RtcmDecoder::message_type ( const uint8_t message[])
static

◆ recordFrame()

void RtcmDecoder::recordFrame ( vector< unsigned char > & data,
unsigned int crcRead )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rtcmTime()

GTime RtcmDecoder::rtcmTime ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ signal_to_code()

E_ObsCode RtcmDecoder::signal_to_code ( E_Sys sys,
uint8_t signal )
Here is the caller graph for this function:

◆ traceLatency()

void RtcmDecoder::traceLatency ( GTime gpsTime)
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ lastTimeStamp

GTime RtcmDecoder::lastTimeStamp

◆ receivedTime

GTime RtcmDecoder::receivedTime

Recent internal time from decoded rtcm messages.

◆ receivedTimeMap

map< GTime, int > RtcmDecoder::receivedTimeMap
static

◆ recordFilename

string RtcmDecoder::recordFilename

◆ rtcmDeltaTime

double RtcmDecoder::rtcmDeltaTime = 0
static

Common time used among all rtcmDecoders for delaying decoding when realtime is enabled.

◆ rtcmTimestampTime

GTime RtcmDecoder::rtcmTimestampTime

◆ rtcmWeek

GWeek RtcmDecoder::rtcmWeek = -1

◆ superObsList

ObsList RtcmDecoder::superObsList

List to accumulate observations from smaller lists which share a common time.

◆ updateInterval

int RtcmDecoder::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: