38 #include "generated/flight_plan.h"
44 #ifndef DOWNLINK_DEVICE
45 #define DOWNLINK_DEVICE DOWNLINK_AP_DEVICE
47 #include "pprzlink/messages.h"
73 if (stereocam_data.data[0] > 60) {
87 if (stereocam_data.data[0] < 60) {
119 *heading = *heading + increment;
Rotorcraft navigation functions.
void run_avoid_navigation_onvision(void)
#define POS_BFP_OF_REAL(_af)
struct AvoidNavigationStruct avoid_navigation_data
global VIDEO state
#define ANGLE_FLOAT_OF_BFP(_ai)
void waypoint_set_xy_i(uint8_t wp_id, int32_t x, int32_t y)
Set only local XY coordinates of waypoint without update altitude.
interface to the TU Delft serial stereocam
vector in East North Up coordinates
API to get/set the generic vehicle states.
#define NAV_LINE_AVOID_SEGMENT_LENGTH
Common code for AP and FBW telemetry.
arch independent LED (Light Emitting Diodes) API
uint8_t mode
0 = straight, 1 = right, 2 = left, ...
static struct EnuCoor_i * stateGetPositionEnu_i(void)
Get position in local ENU coordinates (int).
int32_t nav_heading
with INT32_ANGLE_FRAC
void init_avoid_navigation()
void increase_nav_heading(int32_t *heading, int32_t increment)
Increases the NAV heading.