29 #include "pprzlink/dl_protocol.h"
40 uint8_t msg_id = IdOfPprzMsg(buf);
47 if (DL_BLOCK_ac_id(buf) != AC_ID) {
break; }
54 if (ac_id != AC_ID) {
break; }
56 uint8_t wp_id = DL_MOVE_WP_wp_id(buf);
58 lla.
lat = DL_MOVE_WP_lat(buf);
59 lla.
lon = DL_MOVE_WP_lon(buf);
static bool stateIsLocalCoordinateValid(void)
Test if local coordinates are valid.
Handling of messages coming from ground and other A/Cs.
void firmware_parse_msg(struct link_device *dev, struct transport_tx *trans, uint8_t *buf)
Firmware specfic msg handler.
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 waypoint_move_lla(uint8_t wp_id, struct LlaCoor_i *lla)
struct LlaCoor_i lla
Reference point in lla.
int32_t lon
in degrees*1e7
Paparazzi fixed point math for geodetic calculations.
static const struct usb_device_descriptor dev
struct LtpDef_i ned_origin_i
Definition of the local (flat earth) coordinate system.
Core autopilot interface common to all firmwares.
int32_t lat
in degrees*1e7
void nav_goto_block(uint8_t b)
Rover navigation functions.