Skip to content

struct gnss_data_t ​

Structure representing GNSS data. More...

#include <gnss.h>

Public Attributes ​

Name
gnss_nav_tsys
A gnss_nav_t value representing the navigation system used.
uint8_tnum_sat
An 8-bit unsigned integer representing the number of satellites.
uint32_ttime
A 32-bit unsigned integer representing the current UTC time.
floatlat
A float value representing the latitude.
floatlon
A float value representing the longitude.
floatalt
A float value representing the altitude in meters.
floatspeed
A float value representing the speed in m/s.
floatcourse
A float value representing the course.
floathdop
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)