Ginan
|
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] |
|
inline |
vector< uint8_t > RtcmEncoder::encodeEphemeris | ( | Eph & | eph, |
RtcmMessageType | messCode ) |
encode GPS/GAL/BDS/QZS ephemeris messages
eph | ephemeris to encode |
messCode | RTCM message code to encode ephemeris of |
vector< uint8_t > RtcmEncoder::encodeEphemeris | ( | Geph & | geph, |
RtcmMessageType | messCode ) |
encode GLO ephemeris messages
geph | ephemeris to encode |
messCode | RTCM message code to encode ephemeris of |
vector< uint8_t > RtcmEncoder::encodeSsrCode | ( | SsrCBMap & | ssrCBMap, |
RtcmMessageType | messCode ) |
encode code bias messages
ssrCBMap | code biases to encode |
messCode | RTCM message code to encode ephemeris of |
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
buf | byte data |
sys | system to encode |
messCode | RTCM message code to encode ephemeris of |
ssrMeta | SSR metadata |
iod | IOD SSR |
dispBiasConistInd | Dispersive Bias Consistency Indicator (for phase bias only) |
MWConistInd | MW Consistency Indicator (for phase bias only) |
vector< uint8_t > RtcmEncoder::encodeSsrOrbClk | ( | SsrOutMap & | ssrOutMap, |
RtcmMessageType | messCode ) |
encode orbit/clock messages
ssrOutMap | orbits/clocks to encode |
messCode | RTCM message code to encode ephemeris of |
vector< uint8_t > RtcmEncoder::encodeSsrPhase | ( | SsrPBMap & | ssrPBMap, |
RtcmMessageType | messCode ) |
encode phase bias messages
ssrPBMap | phase biases to encode |
messCode | RTCM message code to encode ephemeris of |
vector< uint8_t > RtcmEncoder::encodeSsrUra | ( | SsrOutMap & | ssrOutMap, |
RtcmMessageType | messCode ) |
encode URA messages
ssrOutMap | URAs to encode |
messCode | RTCM message code to encode ephemeris of |
vector< uint8_t > RtcmEncoder::encodeTimeStampRTCM | ( | ) |
void RtcmEncoder::encodeWriteMessages | ( | std::ostream & | outputStream | ) |
bool RtcmEncoder::encodeWriteMessageToBuffer | ( | vector< uint8_t > & | buffer | ) |
vector<uint8_t> RtcmEncoder::data |
SsrClkMap RtcmEncoder::lastRegSsrClkMap |
last regular SSR clock corrections uploaded, used to calculate high rate SSR clock corrections
SsrEphMap RtcmEncoder::lastRegSsrEphMap |
last SSR orbit corrections uploaded, used to check IODE's
int RtcmEncoder::masterIod = 1 |
|
staticconstexpr |