30 #include "generated/flight_plan.h"
36 llh_nav0.
lat = NAV_LAT0;
37 llh_nav0.
lon = NAV_LON0;
39 llh_nav0.
alt = NAV_ALT0 + NAV_MSL0;
static struct LtpDef_i ltp_def
int32_t lat
in degrees*1e7
int32_t hmsl
Height above mean sea level in mm.
int32_t alt
in millimeters above WGS84 reference ellipsoid
int32_t lon
in degrees*1e7
void ltp_def_from_lla_i(struct LtpDef_i *def, struct LlaCoor_i *lla)
vector in Latitude, Longitude and Altitude
definition of the local (flat earth) coordinate system
static void stateSetLocalOrigin_i(uint16_t id, struct LtpDef_i *ltp_def)
Set the local (flat earth) coordinate frame origin (int).
void ins_init_origin_i_from_flightplan(uint16_t id, struct LtpDef_i *ltp_def)
initialize the local origin (ltp_def in fixed point) from flight plan position
Integrated Navigation System interface.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.