Function novatel_gps_driver::ParseFloat(const uint8_t *)

Function Documentation

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.

Parameters:

buffer – A buffer containing 4 bytes of data.

Returns:

The float represented by the data in the buffer.