30 #include "pprzlink/dl_protocol.h"
48 if (DL_BLOCK_ac_id(
dl_buffer) != AC_ID) {
break; }
55 if (ac_id != AC_ID) {
break; }
72 case DL_GUIDED_SETPOINT_NED:
73 if (DL_GUIDED_SETPOINT_NED_ac_id(
dl_buffer) != AC_ID) {
break; }
Rotorcraft navigation functions.
static bool stateIsLocalCoordinateValid(void)
Test if local coordinates are valid.
Handling of messages coming from ground and other A/Cs.
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.
struct LtpDef_i ned_origin_i
Definition of the local (flat earth) coordinate system.
void autopilot_guided_update(uint8_t flags, float x, float y, float z, float yaw)
Set guided setpoints using flag mask in GUIDED mode.
uint8_t dl_buffer[MSG_SIZE]
int32_t lat
in degrees*1e7
void firmware_parse_msg(void)
Firmware specfic msg handler.
void nav_goto_block(uint8_t b)