34#define GPS_FURUNO_SETTINGS_NB 18
36 "PERDAPI,FIRSTFIXFILTER,STRONG",
37 "PERDAPI,FIXPERSEC,5",
38 "PERDAPI,FIXMASK,SENSITIVITY",
43 "PERDAPI,GNSS,AUTO,2,2,0,-1,-1",
44 "PERDSYS,ANTSEL,FORCE1L",
45 "PERDAPI,CROUT,ALLOFF",
47 "PERDCFG,NMEAOUT,GGA,1",
48 "PERDCFG,NMEAOUT,RMC,1",
49 "PERDCFG,NMEAOUT,GSA,1",
50 "PERDCFG,NMEAOUT,GNS,0",
51 "PERDCFG,NMEAOUT,ZDA,0",
52 "PERDCFG,NMEAOUT,GSV,1",
53 "PERDCFG,NMEAOUT,GST,0"
60#define GpsLinkDevice (&(NMEA_GPS_LINK).device)
78 for (j = 0; j < len + 6; j++) {
115 double east_vel = strtod(&
gps_nmea.msg_buf[i], NULL);
116 gps_nmea.state.ned_vel.y = east_vel * 100;
122 double north_vel = strtod(&
gps_nmea.msg_buf[i], NULL);
123 gps_nmea.state.ned_vel.x = north_vel * 100;
Device independent GPS code (interface).
static uint8_t furuno_cfg_cnt
#define GPS_FURUNO_SETTINGS_NB
static bool nmea_parse_perdcrv(void)
bool nmea_parse_prop_msg(void)
void nmea_parse_prop_init(void)
static const char * gps_furuno_settings[GPS_FURUNO_SETTINGS_NB]
void nmea_configure(void)
Configure furuno GPS.
uint8_t nmea_calc_crc(const char *buff, int buff_sz)
Calculate control sum of binary buffer.
NMEA protocol specific code.
static void nmea_read_until(int *i)
Read until a certain character, placed here for proprietary includes.
void ltp_def_from_ecef_i(struct LtpDef_i *def, struct EcefCoor_i *ecef)
void ecef_of_ned_vect_i(struct EcefCoor_i *ecef, struct LtpDef_i *def, struct NedCoor_i *ned)
Rotate a vector from NED to ECEF.
definition of the local (flat earth) coordinate system
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.