MRAS
Multi Rocket Avionics System
Loading...
Searching...
No Matches
GNSSDataMsg Struct Reference

Message sent by the GNSS (also referred to less correctly as GPS) to the system. More...

#include <GNSSDataMsg.h>

Inheritance diagram for GNSSDataMsg:
Inheritance graph
Collaboration diagram for GNSSDataMsg:
Collaboration graph

Public Member Functions

 GNSSDataMsg (SystemMessageType gnss_msg_type)
 
- Public Member Functions inherited from SystemMessage
 SystemMessage (SystemMessageType type)
 
SystemMessageType get_type ()
 Get the type of the message.
 

Public Attributes

float latitude = 0
 The latitude in decimal degrees.
 
float longitude = 0
 The longitude in decimal degrees.
 
float altitude = 0
 The altitude in meters above mean sea level.
 
uint8_t fix_type = 0
 The current fix type.
 
uint8_t SIV = 0
 The number of satellites used in the fix.
 

Additional Inherited Members

- Protected Attributes inherited from SystemMessage
SystemMessageType type
 

Detailed Description

Message sent by the GNSS (also referred to less correctly as GPS) to the system.

The units of the latitude and longitude are decimal degrees and the altitude is in meters above mean sea level

Member Data Documentation

◆ fix_type

uint8_t GNSSDataMsg::fix_type = 0

The current fix type.

Value Description
0 No fix
1 Dead reckoning only
2 2D fix
3 3D fix
4 GNSS + dead reckoning combined
5 Time only fix

The documentation for this struct was generated from the following file: