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);
static bool stateIsLocalCoordinateValid(void)
Test if local coordinates are valid.
Periodic telemetry system header (includes downlink utility and generated code).
vector in Latitude, Longitude and Altitude
int32_t hmsl
Height above mean sea level in mm.
int32_t alt
in millimeters above WGS84 reference ellipsoid
void copilot_parse_move_wp_dl(uint8_t *buf)
If MOVE_WP from GCS.
struct LlaCoor_i lla
Reference point in lla.
int32_t lon
in degrees*1e7
Paparazzi fixed point math for geodetic calculations.
const uint8_t nb_waypoint
struct LtpDef_i ned_origin_i
Definition of the local (flat earth) coordinate system.
Rotorcraft navigation functions.
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]
bool waypoint_is_global(uint8_t wp_id)
int32_t lat
in degrees*1e7