Enumerations | Functions
protocol_nmea.h File Reference
#include "data_sets.h"
Include dependency graph for protocol_nmea.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  eNmeaMsgIdUint {
  ASCII_MSG_ID_ASCB = 0x41534342, ASCII_MSG_ID_STPB = 0x53545042, ASCII_MSG_ID_STPC = 0x53545043, ASCII_MSG_ID_BLEN = 0x424c454e,
  ASCII_MSG_ID_EBLE = 0x45424c45, ASCII_MSG_ID_NELB = 0x4e454c42, ASCII_MSG_ID_SRST = 0x53525354, ASCII_MSG_ID_INFO = 0x494e464f,
  ASCII_MSG_ID_PERS = 0x50455253
}
 

Functions

uint32_t ASCII_compute_checksum (uint8_t *str, int size)
 
char * ASCII_find_next_field (char *str)
 
double ddmm2deg (double ddmm)
 
int dev_info_to_nmea_info (char a[], const int aSize, dev_info_t &info)
 
int dimu_to_nmea_pimu (char a[], const int aSize, dual_imu_t &dImu)
 
int gps_to_nmea_gga (char a[], const int aSize, gps_pos_t &pos)
 
int gps_to_nmea_gll (char a[], const int aSize, gps_pos_t &pos)
 
int gps_to_nmea_gsa (char a[], const int aSize, gps_pos_t &pos, gps_sat_t &sat)
 
int gps_to_nmea_pashr (char a[], const int aSize, gps_pos_t &pos, ins_1_t &ins1, float heave, inl2_ned_sigma_t &sigma)
 
int gps_to_nmea_pgpsp (char a[], const int aSize, gps_pos_t &pos, gps_vel_t &vel)
 
int gps_to_nmea_rmc (char a[], const int aSize, gps_pos_t &pos, gps_vel_t &vel, float magDeclination)
 
int gps_to_nmea_zda (char a[], const int aSize, gps_pos_t &pos)
 
int ins1_to_nmea_pins1 (char a[], const int aSize, ins_1_t &ins1)
 
int ins2_to_nmea_pins2 (char a[], const int aSize, ins_2_t &ins2)
 
uint32_t parse_nmea_ascb (int pHandle, const char msg[], int msgSize, ascii_msgs_t asciiPeriod[])
 
int parse_nmea_gga (const char msg[], int msgSize, gps_pos_t *gpsPos, double datetime[6], int *satsUsed, int navMode)
 
int parse_nmea_gns (const char msgBuf[], int msgSize, gps_pos_t *gpsPos, double datetime[6], int *satsUsed, int navMode)
 
int parse_nmea_gsa (const char msg[], int msgSize, gps_pos_t *gpsPos, int *navMode)
 
int parse_nmea_gsv (const char msg[], int msgSize, gps_sat_t *gpsSat, int lastGSVmsg[2], int *satPointer, uint32_t *cnoSum, uint32_t *cnoCount)
 
int parse_nmea_rmc (const char msg[], int msgSize, gps_vel_t *gpsVel, double datetime[6], int *satsUsed, int navMode)
 
int parse_nmea_zda (const char msgBuf[], int msgSize, double &day, double &month, double &year)
 
int pimu_to_nmea_ppimu (char a[], const int aSize, preintegrated_imu_t &pimu)
 
void set_gpsPos_status_mask (uint32_t *status, uint32_t state, uint32_t mask)
 
int strobe_to_nmea_pstrb (char a[], const int aSize, strobe_in_time_t &strobe)
 
int tow_to_nmea_ptow (char a[], const int aSize, double imuTow, double insTow, unsigned int gpsWeek)
 

Enumeration Type Documentation

◆ eNmeaMsgIdUint

Enumerator
ASCII_MSG_ID_ASCB 
ASCII_MSG_ID_STPB 
ASCII_MSG_ID_STPC 
ASCII_MSG_ID_BLEN 
ASCII_MSG_ID_EBLE 
ASCII_MSG_ID_NELB 
ASCII_MSG_ID_SRST 
ASCII_MSG_ID_INFO 
ASCII_MSG_ID_PERS 

Definition at line 7 of file protocol_nmea.h.

Function Documentation

◆ ASCII_compute_checksum()

uint32_t ASCII_compute_checksum ( uint8_t *  str,
int  size 
)

Definition at line 11 of file protocol_nmea.cpp.

◆ ASCII_find_next_field()

char* ASCII_find_next_field ( char *  str)

Definition at line 25 of file protocol_nmea.cpp.

◆ ddmm2deg()

double ddmm2deg ( double  ddmm)

Definition at line 36 of file protocol_nmea.cpp.

◆ dev_info_to_nmea_info()

int dev_info_to_nmea_info ( char  a[],
const int  aSize,
dev_info_t info 
)

Definition at line 94 of file protocol_nmea.cpp.

◆ dimu_to_nmea_pimu()

int dimu_to_nmea_pimu ( char  a[],
const int  aSize,
dual_imu_t dImu 
)

Definition at line 164 of file protocol_nmea.cpp.

◆ gps_to_nmea_gga()

int gps_to_nmea_gga ( char  a[],
const int  aSize,
gps_pos_t pos 
)

Definition at line 373 of file protocol_nmea.cpp.

◆ gps_to_nmea_gll()

int gps_to_nmea_gll ( char  a[],
const int  aSize,
gps_pos_t pos 
)

Definition at line 453 of file protocol_nmea.cpp.

◆ gps_to_nmea_gsa()

int gps_to_nmea_gsa ( char  a[],
const int  aSize,
gps_pos_t pos,
gps_sat_t sat 
)

Definition at line 485 of file protocol_nmea.cpp.

◆ gps_to_nmea_pashr()

int gps_to_nmea_pashr ( char  a[],
const int  aSize,
gps_pos_t pos,
ins_1_t ins1,
float  heave,
inl2_ned_sigma_t sigma 
)

Definition at line 669 of file protocol_nmea.cpp.

◆ gps_to_nmea_pgpsp()

int gps_to_nmea_pgpsp ( char  a[],
const int  aSize,
gps_pos_t pos,
gps_vel_t vel 
)

Definition at line 288 of file protocol_nmea.cpp.

◆ gps_to_nmea_rmc()

int gps_to_nmea_rmc ( char  a[],
const int  aSize,
gps_pos_t pos,
gps_vel_t vel,
float  magDeclination 
)

Definition at line 573 of file protocol_nmea.cpp.

◆ gps_to_nmea_zda()

int gps_to_nmea_zda ( char  a[],
const int  aSize,
gps_pos_t pos 
)

Definition at line 648 of file protocol_nmea.cpp.

◆ ins1_to_nmea_pins1()

int ins1_to_nmea_pins1 ( char  a[],
const int  aSize,
ins_1_t ins1 
)

Definition at line 218 of file protocol_nmea.cpp.

◆ ins2_to_nmea_pins2()

int ins2_to_nmea_pins2 ( char  a[],
const int  aSize,
ins_2_t ins2 
)

Definition at line 248 of file protocol_nmea.cpp.

◆ parse_nmea_ascb()

uint32_t parse_nmea_ascb ( int  pHandle,
const char  msg[],
int  msgSize,
ascii_msgs_t  asciiPeriod[] 
)

◆ parse_nmea_gga()

int parse_nmea_gga ( const char  msg[],
int  msgSize,
gps_pos_t gpsPos,
double  datetime[6],
int *  satsUsed,
int  navMode 
)

Definition at line 939 of file protocol_nmea.cpp.

◆ parse_nmea_gns()

int parse_nmea_gns ( const char  msgBuf[],
int  msgSize,
gps_pos_t gpsPos,
double  datetime[6],
int *  satsUsed,
int  navMode 
)

Definition at line 815 of file protocol_nmea.cpp.

◆ parse_nmea_gsa()

int parse_nmea_gsa ( const char  msg[],
int  msgSize,
gps_pos_t gpsPos,
int *  navMode 
)

Definition at line 1100 of file protocol_nmea.cpp.

◆ parse_nmea_gsv()

int parse_nmea_gsv ( const char  msg[],
int  msgSize,
gps_sat_t gpsSat,
int  lastGSVmsg[2],
int *  satPointer,
uint32_t *  cnoSum,
uint32_t *  cnoCount 
)

Definition at line 1127 of file protocol_nmea.cpp.

◆ parse_nmea_rmc()

int parse_nmea_rmc ( const char  msg[],
int  msgSize,
gps_vel_t gpsVel,
double  datetime[6],
int *  satsUsed,
int  navMode 
)

Definition at line 1055 of file protocol_nmea.cpp.

◆ parse_nmea_zda()

int parse_nmea_zda ( const char  msgBuf[],
int  msgSize,
double &  day,
double &  month,
double &  year 
)

Definition at line 785 of file protocol_nmea.cpp.

◆ pimu_to_nmea_ppimu()

int pimu_to_nmea_ppimu ( char  a[],
const int  aSize,
preintegrated_imu_t pimu 
)

Definition at line 190 of file protocol_nmea.cpp.

◆ set_gpsPos_status_mask()

void set_gpsPos_status_mask ( uint32_t *  status,
uint32_t  state,
uint32_t  mask 
)

Definition at line 43 of file protocol_nmea.cpp.

◆ strobe_to_nmea_pstrb()

int strobe_to_nmea_pstrb ( char  a[],
const int  aSize,
strobe_in_time_t strobe 
)

Definition at line 275 of file protocol_nmea.cpp.

◆ tow_to_nmea_ptow()

int tow_to_nmea_ptow ( char  a[],
const int  aSize,
double  imuTow,
double  insTow,
unsigned int  gpsWeek 
)

Definition at line 152 of file protocol_nmea.cpp.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59