50 #ifdef GPS_USE_LATLONG
79 uint32_t stamp __attribute__((unused)),
86 utm.
alt = gps_s->
hmsl / 1000.0f;
Event structure to store callbacks in a linked list.
int32_t north
in centimeters
void ins_reset_altitude_ref(void)
INS altitude reference reset.
float alt
in meters above WGS84 reference ellipsoid
Main include for ABI (AirBorneInterface).
Integrated Navigation System interface.
position in UTM coordinates Units: meters
int32_t east
in centimeters
struct UtmCoor_i utm_pos
position in UTM (north,east: cm; alt: mm over ellipsoid)
static void stateSetPositionUtm_f(struct UtmCoor_f *utm_pos)
Set position from UTM coordinates (float).
uint8_t zone
UTM zone number.
vector in Latitude, Longitude and Altitude
static void stateSetSpeedNed_f(struct NedCoor_f *ned_speed)
Set ground speed in local NED coordinates (float).
int32_t hmsl
height above mean sea level in mm
static void gps_cb(uint8_t sender_id, uint32_t stamp, struct GpsState *gps_s)
void ins_gps_utm_register(void)
vector in North East Down coordinates Units: meters
data structure for GPS information
void ins_reset_local_origin(void)
INS local origin reset.
Device independent GPS code (interface)
void ins_gps_utm_init(void)
int32_t lon
in degrees*1e7
uint8_t zone
UTM zone number.
struct UtmCoor_f utm_origin_f
Definition of the origin of Utm coordinate system.
API to get/set the generic vehicle states.
Simply passes GPS UTM position and velocity through to the state interface.
#define ABI_BROADCAST
Broadcast address.
struct LlaCoor_i lla_pos
position in LLA (lat,lon: deg*1e7; alt: mm over ellipsoid)
Fixedwing Navigation library.
void ins_register_impl(InsInit init)
struct NedCoor_i ned_vel
speed NED in cm/s
static void stateSetLocalUtmOrigin_f(struct UtmCoor_f *utm_def)
Set the local (flat earth) coordinate frame origin from UTM (float).
struct GpsState gps
global GPS state
#define LLA_FLOAT_OF_BFP(_o, _i)
void utm_of_lla_f(struct UtmCoor_f *utm, struct LlaCoor_f *lla)