|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
36 #include "generated/flight_plan.h"
42 llh_nav0.
lat = NAV_LAT0;
43 llh_nav0.
lon = NAV_LON0;
45 llh_nav0.
alt = NAV_ALT0 + NAV_MSL0;
int32_t lon
in degrees*1e7
uint8_t valid_fields
bitfield indicating valid fields (GPS_VALID_x_BIT)
int32_t alt
in millimeters above WGS84 reference ellipsoid
void WEAK ins_reset_utm_zone(struct UtmCoor_f *utm)
INS utm zone reset.
definition of the local (flat earth) coordinate system
void lla_of_utm_f(struct LlaCoor_f *lla, struct UtmCoor_f *utm)
void utm_of_lla_f(struct UtmCoor_f *utm, struct LlaCoor_f *lla)
int32_t lat
in degrees*1e7
static void stateSetLocalUtmOrigin_f(struct UtmCoor_f *utm_def)
Set the local (flat earth) coordinate frame origin from UTM (float).
Device independent GPS code (interface)
uint8_t zone
UTM zone number.
#define GPS_VALID_POS_UTM_BIT
static void stateSetLocalOrigin_i(struct LtpDef_i *ltp_def)
Set the local (flat earth) coordinate frame origin (int).
struct UtmCoor_i utm_pos
position in UTM (north,east: cm; alt: mm over MSL)
void ltp_def_from_lla_i(struct LtpDef_i *def, struct LlaCoor_i *lla)
void ins_init_origin_i_from_flightplan(struct LtpDef_i *ltp_def)
initialize the local origin (ltp_def in fixed point) from flight plan position
struct UtmCoor_f utm_float_from_gps(struct GpsState *gps_s, uint8_t zone)
Convenience functions to get utm position from GPS state.
void WEAK ins_reset_altitude_ref(void)
INS altitude reference reset.
vector in Latitude, Longitude and Altitude
int32_t hmsl
Height above mean sea level in mm.
position in UTM coordinates Units: meters
void WEAK ins_reset_local_origin(void)
INS local origin reset.
struct GpsState gps
global GPS state
uint8_t zone
UTM zone number.
vector in Latitude, Longitude and Altitude