Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
GPS system based on intermcu. More...
Go to the source code of this file.
Macros | |
#define | PRIMARY_GPS GPS_INTERMCU |
#define | gps_intermcu_periodic_check() gps_periodic_check(&gps_imcu) |
Functions | |
void | gps_intermcu_init (void) |
GPS initialization. More... | |
void | gps_intermcu_parse_IMCU_REMOTE_GPS (uint8_t *buf) |
Variables | |
struct GpsState | gps_imcu |
GPS system based on intermcu.
Definition in file gps_intermcu.h.
#define gps_intermcu_periodic_check | ( | ) | gps_periodic_check(&gps_imcu) |
Definition at line 41 of file gps_intermcu.h.
#define PRIMARY_GPS GPS_INTERMCU |
Definition at line 34 of file gps_intermcu.h.
void gps_intermcu_init | ( | void | ) |
GPS initialization.
Definition at line 33 of file gps_intermcu.c.
References GpsState::cacc, GpsState::comp_id, GpsState::fix, GPS_FIX_NONE, gps_imcu, GPS_IMCU_ID, GpsState::pacc, GpsState::pdop, and GpsState::sacc.
void gps_intermcu_parse_IMCU_REMOTE_GPS | ( | uint8_t * | buf | ) |
Definition at line 43 of file gps_intermcu.c.
References LlaCoor_i::alt, GpsState::course, GpsState::ecef_pos, GpsState::ecef_vel, GpsState::fix, get_sys_time_usec(), GPS_FIX_3D, gps_imcu, GPS_IMCU_ID, GPS_VALID_COURSE_BIT, GPS_VALID_HMSL_BIT, GPS_VALID_POS_ECEF_BIT, GPS_VALID_VEL_ECEF_BIT, GpsState::gspeed, GpsState::hmsl, GpsState::last_3dfix_ticks, GpsState::last_3dfix_time, GpsState::last_msg_ticks, GpsState::last_msg_time, GpsState::lla_pos, sys_time::nb_sec, sys_time::nb_sec_rem, GpsState::num_sv, GpsState::pacc, GpsState::sacc, GpsState::valid_fields, EcefCoor_i::x, EcefCoor_i::y, and EcefCoor_i::z.
|
extern |
Definition at line 1 of file gps_intermcu.c.
Referenced by gps_intermcu_init(), and gps_intermcu_parse_IMCU_REMOTE_GPS().