2 #include "generated/airframe.h"
6 #include "generated/flight_plan.h"
10 #define MAX_RADIUS 250
41 float pvect = dir_x * y - dir_y *
x;
42 sign = (pvect > 0 ? -1 : 1);
#define DEFAULT_CIRCLE_RADIUS
default nav_circle_radius in meters
static struct EnuCoor_f * stateGetPositionEnu_f(void)
Get position in local ENU coordinates (float).
bool_t nav_chemotaxis(uint8_t c, uint8_t plume)
#define NavCircleWaypoint(wp, radius)
static uint8_t last_plume_value
static float stateGetHorizontalSpeedDir_f(void)
Get dir of horizontal ground speed (float).
API to get/set the generic vehicle states.
struct point waypoints[NB_WAYPOINT]
size == nb_waypoint, waypoint 0 is a dummy waypoint
bool_t nav_chemotaxis_init(uint8_t c, uint8_t plume)
Common code for AP and FBW telemetry.
Fixedwing Navigation library.