Classes | |
class | BestposParser |
class | BestutmParser |
class | BestvelParser |
class | BestxyzParser |
struct | BinaryHeader |
struct | BinaryMessage |
class | ClockSteeringParser |
class | CorrImuDataParser |
class | DualAntennaHeadingParser |
class | GpggaParser |
class | GpgsaParser |
class | GpgsvParser |
class | GphdtParser |
class | GprmcParser |
class | HeaderParser |
class | Heading2Parser |
class | InscovParser |
class | InspvaParser |
class | InspvaxParser |
class | InsstdevParser |
class | MessageParser |
struct | NmeaSentence |
class | NovatelGps |
class | NovatelGpsNodelet |
class | NovatelMessageExtractor |
struct | NovatelSentence |
class | ParseException |
class | Psrdop2Parser |
class | RangeParser |
class | TimeParser |
class | TrackstatParser |
Typedefs | |
typedef std::map< std::string, double > | NovatelMessageOpts |
Functions | |
double | ConvertDmsToDegrees (double dms) |
void | GetExtendedSolutionStatusMessage (uint32_t status, novatel_gps_msgs::NovatelExtendedSolutionStatus &msg) |
void | GetNovatelReceiverStatusMessage (uint32_t status, novatel_gps_msgs::NovatelReceiverStatus &receiver_status_msg) |
void | GetSignalsUsed (uint32_t mask, novatel_gps_msgs::NovatelSignalMask &msg) |
double | ParseDouble (const uint8_t *buffer) |
Converts a buffer containing 8 bytes into a double. More... | |
bool | ParseDouble (const std::string &string, double &value) |
Parses a string containing a floating-point number into a double. More... | |
float | ParseFloat (const uint8_t *buffer) |
Converts a buffer containing 4 bytes into a float. More... | |
bool | ParseFloat (const std::string &string, float &value) |
Parses a string containing a floating-point number into a float. More... | |
int16_t | ParseInt16 (const uint8_t *buffer) |
Converts a buffer containing 2 bytes into a signed 16-bit int. More... | |
bool | ParseInt16 (const std::string &string, int16_t &value, int32_t base=10) |
Parses a string containing an integer number into an int16_t. More... | |
int32_t | ParseInt32 (const uint8_t *buffer) |
Converts a buffer containing 4 bytes into a signed 32-bit int. More... | |
bool | ParseInt32 (const std::string &string, int32_t &value, int32_t base=10) |
Parses a string containing an integer number into an int32_t. More... | |
uint16_t | ParseUInt16 (const uint8_t *buffer) |
Converts a buffer containing 2 bytes into an unsigned 16-bit int. More... | |
bool | ParseUInt16 (const std::string &string, uint16_t &value, int32_t base=10) |
Parses a string containing an integer number into a uint16_t. More... | |
uint32_t | ParseUInt32 (const uint8_t *buffer) |
Converts a buffer containing 4 bytes into an unsigned 32-bit int. More... | |
bool | ParseUInt32 (const std::string &string, uint32_t &value, int32_t base=10) |
Parses a string containing an integer number into a uint32_t. More... | |
bool | ParseUInt8 (const std::string &string, uint8_t &value, int32_t base=10) |
Parses a string containing an integer number into a uint16_t. More... | |
double | UtcFloatToSeconds (double utc_float) |
Variables | |
const std::string | DATUMS [] |
const size_t | MAX_DATUM = 86 |
const size_t | MAX_POSITION_TYPE = 80 |
const size_t | MAX_SOLUTION_STATUS = 22 |
const size_t | NOVATEL_MESSAGE_HEADER_LENGTH = 10 |
const std::string | PORT_IDENTIFIERS [] |
const std::string | POSITION_TYPES [] |
const std::string | SOLUTION_STATUSES [] |
Utility functions, structures, and constants used when parsing messages.
typedef std::map<std::string, double> novatel_gps_driver::NovatelMessageOpts |
Define NovatelMessageOpts as a map from message name to log period (seconds) A negative period will be logged as "onchanged" rather than "ontime"
Definition at line 93 of file novatel_gps.h.
double novatel_gps_driver::ConvertDmsToDegrees | ( | double | dms | ) |
Definition at line 239 of file parsing_utils.cpp.
void novatel_gps_driver::GetExtendedSolutionStatusMessage | ( | uint32_t | status, |
novatel_gps_msgs::NovatelExtendedSolutionStatus & | msg | ||
) |
Definition at line 68 of file parsing_utils.cpp.
void novatel_gps_driver::GetNovatelReceiverStatusMessage | ( | uint32_t | status, |
novatel_gps_msgs::NovatelReceiverStatus & | receiver_status_msg | ||
) |
Definition at line 38 of file parsing_utils.cpp.
void novatel_gps_driver::GetSignalsUsed | ( | uint32_t | mask, |
novatel_gps_msgs::NovatelSignalMask & | msg | ||
) |
Definition at line 101 of file parsing_utils.cpp.
double novatel_gps_driver::ParseDouble | ( | const uint8_t * | buffer | ) |
Converts a buffer containing 8 bytes into a double.
This assumes that the bytes in the buffer are already arranged with the same endianness as the local platform.
buffer | A buffer containing 8 bytes of data. |
Definition at line 111 of file parsing_utils.cpp.
bool novatel_gps_driver::ParseDouble | ( | const std::string & | string, |
double & | value | ||
) |
Parses a string containing a floating-point number into a double.
string | The string to read, i.e. "5.0" |
value | A double representing the value from the strong. |
Definition at line 118 of file parsing_utils.cpp.
float novatel_gps_driver::ParseFloat | ( | const uint8_t * | buffer | ) |
Converts a buffer containing 4 bytes into a float.
This assumes that the bytes in the buffer are already arranged with the same endianness as the local platform.
buffer | A buffer containing 4 bytes of data. |
Definition at line 123 of file parsing_utils.cpp.
bool novatel_gps_driver::ParseFloat | ( | const std::string & | string, |
float & | value | ||
) |
Parses a string containing a floating-point number into a float.
string | The string to read, i.e. "5.0" |
value | A float representing the value from the strong. |
Definition at line 130 of file parsing_utils.cpp.
int16_t novatel_gps_driver::ParseInt16 | ( | const uint8_t * | buffer | ) |
Converts a buffer containing 2 bytes into a signed 16-bit int.
This assumes that the bytes in the buffer are already arranged with the same endianness as the local platform.
buffer | A buffer containing 2 bytes of data. |
Definition at line 135 of file parsing_utils.cpp.
bool novatel_gps_driver::ParseInt16 | ( | const std::string & | string, |
int16_t & | value, | ||
int32_t | base = 10 |
||
) |
Parses a string containing an integer number into an int16_t.
string | The string to read, i.e. "5" |
value | An int16_t representing the value from the strong. |
base | The numerical base of the integer in the string. |
Definition at line 142 of file parsing_utils.cpp.
int32_t novatel_gps_driver::ParseInt32 | ( | const uint8_t * | buffer | ) |
Converts a buffer containing 4 bytes into a signed 32-bit int.
This assumes that the bytes in the buffer are already arranged with the same endianness as the local platform.
buffer | A buffer containing 4 bytes of data. |
Definition at line 162 of file parsing_utils.cpp.
bool novatel_gps_driver::ParseInt32 | ( | const std::string & | string, |
int32_t & | value, | ||
int32_t | base = 10 |
||
) |
Parses a string containing an integer number into an int32_t.
string | The string to read, i.e. "5" |
value | An int32_t representing the value from the strong. |
base | The numerical base of the integer in the string. |
Definition at line 169 of file parsing_utils.cpp.
uint16_t novatel_gps_driver::ParseUInt16 | ( | const uint8_t * | buffer | ) |
Converts a buffer containing 2 bytes into an unsigned 16-bit int.
This assumes that the bytes in the buffer are already arranged with the same endianness as the local platform.
buffer | A buffer containing 2 bytes of data. |
Definition at line 204 of file parsing_utils.cpp.
bool novatel_gps_driver::ParseUInt16 | ( | const std::string & | string, |
uint16_t & | value, | ||
int32_t | base = 10 |
||
) |
Parses a string containing an integer number into a uint16_t.
string | The string to read, i.e. "5" |
value | A uint16_t representing the value from the strong. |
base | The numerical base of the integer in the string. |
Definition at line 211 of file parsing_utils.cpp.
uint32_t novatel_gps_driver::ParseUInt32 | ( | const uint8_t * | buffer | ) |
Converts a buffer containing 4 bytes into an unsigned 32-bit int.
This assumes that the bytes in the buffer are already arranged with the same endianness as the local platform.
buffer | A buffer containing 4 bytes of data. |
Definition at line 174 of file parsing_utils.cpp.
bool novatel_gps_driver::ParseUInt32 | ( | const std::string & | string, |
uint32_t & | value, | ||
int32_t | base = 10 |
||
) |
Parses a string containing an integer number into a uint32_t.
string | The string to read, i.e. "5" |
value | A uint32_t representing the value from the strong. |
base | The numerical base of the integer in the string. |
Definition at line 181 of file parsing_utils.cpp.
bool novatel_gps_driver::ParseUInt8 | ( | const std::string & | string, |
uint8_t & | value, | ||
int32_t | base = 10 |
||
) |
Parses a string containing an integer number into a uint16_t.
string | The string to read, i.e. "5" |
value | A uint16_t representing the value from the strong. |
base | The numerical base of the integer in the string. |
Definition at line 186 of file parsing_utils.cpp.
double novatel_gps_driver::UtcFloatToSeconds | ( | double | utc_float | ) |
Definition at line 229 of file parsing_utils.cpp.
const std::string novatel_gps_driver::DATUMS[] |
Definition at line 76 of file parsing_utils.h.
const size_t novatel_gps_driver::MAX_DATUM = 86 |
Definition at line 75 of file parsing_utils.h.
const size_t novatel_gps_driver::MAX_POSITION_TYPE = 80 |
Definition at line 56 of file parsing_utils.h.
const size_t novatel_gps_driver::MAX_SOLUTION_STATUS = 22 |
Definition at line 49 of file parsing_utils.h.
const size_t novatel_gps_driver::NOVATEL_MESSAGE_HEADER_LENGTH = 10 |
Definition at line 47 of file parsing_utils.h.
const std::string novatel_gps_driver::PORT_IDENTIFIERS[] |
Definition at line 87 of file parsing_utils.h.
const std::string novatel_gps_driver::POSITION_TYPES[] |
Definition at line 57 of file parsing_utils.h.
const std::string novatel_gps_driver::SOLUTION_STATUSES[] |
Definition at line 50 of file parsing_utils.h.