29 #include "generated/airframe.h"
30 #include "generated/flight_plan.h"
36 #include "dl_protocol.h"
38 #ifndef FOLLOW_OFFSET_X
39 #define FOLLOW_OFFSET_X 0.0
42 #ifndef FOLLOW_OFFSET_Y
43 #define FOLLOW_OFFSET_Y 0.0
46 #ifndef FOLLOW_OFFSET_Z
47 #define FOLLOW_OFFSET_Z 0.0
59 new_pos.
x = DL_REMOTE_GPS_ecef_x(buffer);
60 new_pos.
y = DL_REMOTE_GPS_ecef_y(buffer);
61 new_pos.
z = DL_REMOTE_GPS_ecef_z(buffer);
#define INT32_VECT3_SCALE_2(_a, _b, _num, _den)
vector in EarthCenteredEarthFixed coordinates
#define POS_BFP_OF_REAL(_af)
#define INT32_POS_OF_CM_NUM
void enu_of_ecef_point_i(struct EnuCoor_i *enu, struct LtpDef_i *def, struct EcefCoor_i *ecef)
Convert a point from ECEF to local ENU.
struct LtpDef_i ned_origin_i
Definition of the local (flat earth) coordinate system.
void follow_change_wp(unsigned char *buffer)
void waypoint_set_enu_i(uint8_t wp_id, struct EnuCoor_i *enu)
#define INT32_POS_OF_CM_DEN
vector in East North Up coordinates
API to get/set the generic vehicle states.