69 if (DL_MOVE_WP_ac_id(buf) == AC_ID) {
70 uint8_t wp_id = DL_MOVE_WP_wp_id(buf);
78 lla.
lat = RadOfDeg((
float)(DL_MOVE_WP_lat(buf) / 1e7));
79 lla.
lon = RadOfDeg((
float)(DL_MOVE_WP_lon(buf) / 1e7));
80 lla.
alt = ((float)(DL_MOVE_WP_alt(buf)))/1000.;
float alt
in meters (above WGS84 reference ellipsoid or above MSL)
Periodic telemetry system header (includes downlink utility and generated code).
position in UTM coordinates Units: meters
Paparazzi floating point math for geodetic calculations.
vector in Latitude, Longitude and Altitude
void copilot_parse_move_wp_dl(uint8_t *buf)
If MOVE_WP from GCS.
uint8_t zone
UTM zone number.
const uint8_t nb_waypoint
float alt
in meters (normally above WGS84 reference ellipsoid)
struct point waypoints[NB_WAYPOINT]
size == nb_waypoint, waypoint 0 is a dummy waypoint
Mission Computer module, interfacing the mission computer (also known as Copilot), based losely on ISaAC: The Intelligent Safety and Airworthiness Co-Pilot module Based on paper "A Payload Verification and Management Framework for Small UAV-based Personal Remote Sensing Systems" by Cal Coopmans and Chris Coffin.
uint8_t dl_buffer[MSG_SIZE]
Fixedwing Navigation library.
void utm_of_lla_f(struct UtmCoor_f *utm, struct LlaCoor_f *lla)