|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
module used to send GPS data over a Tawaki UART for extern instrument using NMEA protocol Exemple of use : MAPIR camera stores GPS data in metadata on each frame More...
#include "std.h"
Include dependency graph for gps_nmea_send.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | gps_nmea_send_msg_t |
| struct | Gps_Nmea_Send |
Functions | |
| void | gps_nmea_send_init (void) |
| Initialization function. | |
| void | gps_nmea_send_periodic (void) |
| Periodic function to send data. | |
module used to send GPS data over a Tawaki UART for extern instrument using NMEA protocol Exemple of use : MAPIR camera stores GPS data in metadata on each frame
Definition in file gps_nmea_send.h.
| struct gps_nmea_send_msg_t |
Definition at line 32 of file gps_nmea_send.h.
| Data Fields | ||
|---|---|---|
| float | course | GPS course over ground in rad*1e7, [0, 2*Pi]*1e7 (CW/north) |
| float | hmsl | Orthometric height (MSL reference) |
| double | lat | Latitude. |
| double | lon | Longiitude. |
| uint8_t | num_sv | number of sat in fix |
| uint16_t | pdop | position dilution of precision scaled by 100 |
| float | vground | Speed over ground in m/s. |
| struct Gps_Nmea_Send |
Definition at line 42 of file gps_nmea_send.h.
Collaboration diagram for Gps_Nmea_Send:| Data Fields | ||
|---|---|---|
| bool | error_init | |
| struct gps_nmea_send_msg_t | msg | |
Initialization function.
Definition at line 56 of file gps_nmea_send.c.
References gps_nmea_send_msg_t::course, Gps_Nmea_Send::error_init, gps_nmea_send, gps_nmea_send_msg_t::hmsl, gps_nmea_send_msg_t::lat, gps_nmea_send_msg_t::lon, Gps_Nmea_Send::msg, gps_nmea_send_msg_t::num_sv, gps_nmea_send_msg_t::pdop, and gps_nmea_send_msg_t::vground.
Periodic function to send data.
Definition at line 72 of file gps_nmea_send.c.
References build_nmea_sentence(), and recover_gps_data().
Here is the call graph for this function: