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.;
struct point waypoints[NB_WAYPOINT]
size == nb_waypoint, waypoint 0 is a dummy waypoint
const uint8_t nb_waypoint
Mission Computer module, interfacing the mission computer (also known as Copilot),...
void copilot_parse_move_wp_dl(uint8_t *buf)
If MOVE_WP from GCS.
uint8_t dl_buffer[MSG_SIZE]
Fixedwing Navigation library.
void utm_of_lla_f(struct UtmCoor_f *utm, struct LlaCoor_f *lla)
Paparazzi floating point math for geodetic calculations.
float alt
in meters (normally above WGS84 reference ellipsoid)
float alt
in meters (above WGS84 reference ellipsoid or above MSL)
uint8_t zone
UTM zone number.
vector in Latitude, Longitude and Altitude
position in UTM coordinates Units: meters
Periodic telemetry system header (includes downlink utility and generated code).
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.