Appearance
struct gnss_data_t
Structure representing GNSS data. More...
#include <gnss.h>
Public Attributes
Name | |
---|---|
gnss_nav_t | sys A gnss_nav_t value representing the navigation system used. |
uint8_t | num_sat An 8-bit unsigned integer representing the number of satellites. |
uint32_t | time A 32-bit unsigned integer representing the current UTC time. |
float | lat A float value representing the latitude. |
float | lon A float value representing the longitude. |
float | alt A float value representing the altitude in meters. |
float | speed A float value representing the speed in m/s. |
float | course A float value representing the course. |
float | hdop A float value representing the HDOP (horizontal dilution of precision) |
Detailed Description
cpp
struct gnss_data_t;
Structure representing GNSS data.
This structure represents GNSS data containing information about the navigation system, number of satellites, current time, latitude, longitude, altitude, speed, course, and HDOP.
Public Attributes Documentation
variable sys
cpp
gnss_nav_t gnss_data_t::sys
A gnss_nav_t value representing the navigation system used.
variable num_sat
cpp
uint8_t gnss_data_t::num_sat
An 8-bit unsigned integer representing the number of satellites.
variable time
cpp
uint32_t gnss_data_t::time
A 32-bit unsigned integer representing the current UTC time.
variable lat
cpp
float gnss_data_t::lat
A float value representing the latitude.
variable lon
cpp
float gnss_data_t::lon
A float value representing the longitude.
variable alt
cpp
float gnss_data_t::alt
A float value representing the altitude in meters.
variable speed
cpp
float gnss_data_t::speed
A float value representing the speed in m/s.
variable course
cpp
float gnss_data_t::course
A float value representing the course.
variable hdop
cpp
float gnss_data_t::hdop
A float value representing the HDOP (horizontal dilution of precision)