|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
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);
int32_t lon
in degrees*1e7
int32_t alt
in millimeters above WGS84 reference ellipsoid
static bool stateIsLocalCoordinateValid(void)
Test if local coordinates are valid.
struct LtpDef_i ned_origin_i
Definition of the local (flat earth) coordinate system.
Paparazzi fixed point math for geodetic calculations.
void waypoint_move_lla(uint8_t wp_id, struct LlaCoor_i *lla)
int32_t lat
in degrees*1e7
static const struct usb_device_descriptor dev
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.
Handling of messages coming from ground and other A/Cs.
struct LlaCoor_i lla
Reference point in lla.
void nav_goto_block(uint8_t b)