Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gps_furuno.c File Reference

GPS furuno based NMEA parser. More...

#include "subsystems/gps.h"
#include "gps_nmea.h"
#include <stdio.h>
#include <string.h>
+ Include dependency graph for gps_furuno.c:

Go to the source code of this file.


#define GpsLinkDevice   (&(NMEA_GPS_LINK).device)


static bool nmea_parse_perdcrv (void)
void nmea_configure (void)
 Configure furuno GPS. More...
void nmea_parse_prop_init (void)
bool nmea_parse_prop_msg (void)


static const char * gps_furuno_settings [GPS_FURUNO_SETTINGS_NB]
static uint8_t furuno_cfg_cnt = 0

Detailed Description

GPS furuno based NMEA parser.

Definition in file gps_furuno.c.

Macro Definition Documentation


Definition at line 34 of file gps_furuno.c.

Referenced by nmea_configure().

#define GpsLinkDevice   (&(NMEA_GPS_LINK).device)

Definition at line 60 of file gps_furuno.c.

Referenced by nmea_configure().

Function Documentation

void nmea_configure ( void  )

Configure furuno GPS.

The function to be called when a characted from the device is available.

Sets gps_nmea.is_configured to TRUE if all config msgs are sent.

Definition at line 66 of file gps_furuno.c.

bool nmea_parse_perdcrv ( void  )

Definition at line 104 of file gps_furuno.c.

References ecef_of_ned_vect_i(), GpsState::ecef_pos, GpsState::ecef_vel, gps_nmea, ltp_def_from_ecef_i(), GpsNmea::msg_buf, GpsState::ned_vel, nmea_read_until(), GpsNmea::state, NedCoor_i::x, and NedCoor_i::y.

Referenced by nmea_parse_prop_msg().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void nmea_parse_prop_init ( void  )

Definition at line 90 of file gps_furuno.c.

bool nmea_parse_prop_msg ( void  )

Definition at line 96 of file gps_furuno.c.

Variable Documentation

uint8_t furuno_cfg_cnt = 0

Definition at line 56 of file gps_furuno.c.

Referenced by nmea_configure(), and nmea_parse_prop_init().

const char* gps_furuno_settings[GPS_FURUNO_SETTINGS_NB]
Initial value:
= {

Definition at line 35 of file gps_furuno.c.

Referenced by nmea_configure().