70 if (DL_MOVE_WP_ac_id(buf) == AC_ID) {
72 uint8_t wp_id = DL_MOVE_WP_wp_id(buf);
78 lla.
lat = DL_MOVE_WP_lat(buf);
79 lla.
lon = DL_MOVE_WP_lon(buf);
94 &lla.
lat, &lla.
lon, &hmsl);
100 &lla.
lat, &lla.
lon, &hmsl);
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.
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
struct LlaCoor_i lla
Reference point in lla.
int32_t lon
in degrees*1e7
vector in Latitude, Longitude and Altitude
struct LtpDef_i ned_origin_i
Definition of the local (flat earth) coordinate system.
static bool stateIsLocalCoordinateValid(void)
Test if local coordinates are valid.
uint8_t dl_buffer[MSG_SIZE]
bool waypoint_is_global(uint8_t wp_id)
Paparazzi fixed point math for geodetic calculations.
Rotorcraft navigation functions.
Periodic telemetry system header (includes downlink utility and generated code).
int int32_t
Typedef defining 32 bit int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.