35 #include "navigation.h"
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) {
void init_avoid_navigation()
void increase_nav_heading(float *heading, float increment)
struct AvoidNavigationStruct avoid_navigation_data
global VIDEO state
void run_avoid_navigation_onvision(void)
#define NAV_LINE_AVOID_SEGMENT_LENGTH
uint8_t mode
0 = straight, 1 = right, 2 = left, ...
Common code for AP and FBW telemetry.
#define POS_BFP_OF_REAL(_af)
vector in East North Up coordinates
static struct EnuCoor_i * stateGetPositionEnu_i(void)
Get position in local ENU coordinates (int).
arch independent LED (Light Emitting Diodes) API
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.
struct RotorcraftNavigation nav
float heading
heading setpoint (in radians)
API to get/set the generic vehicle states.
interface to the TU Delft serial stereocam
int int32_t
Typedef defining 32 bit int type.