32 #include "autopilot.h"
33 #include "generated/flight_plan.h"
97 bool_t InCircle =
TRUE;
static float TransCurrentY
void nav_circle_XY(float x, float y, float radius)
Navigates around (x, y).
static struct EnuCoor_f * stateGetPositionEnu_f(void)
Get position in local ENU coordinates (float).
static float DistanceFromCenter
static float EdgeCurrentY
bool_t nav_flower_run(void)
bool_t nav_flower_setup(uint8_t CenterWP, uint8_t EdgeWP)
#define NavVerticalAltitudeMode(_alt, _pre_climb)
Set the vertical mode to altitude control with the specified altitude setpoint and climb pre-command...
static float TransCurrentX
FlowerStatus
Makes a flower pattern.
static float Flowerradius
#define NavVerticalAutoThrottleMode(_pitch)
Set the climb control to auto-throttle with the specified pitch pre-command.
void nav_init_stage(void)
needs to be implemented by fixedwing and rotorcraft seperately
void nav_route_xy(float last_wp_x, float last_wp_y, float wp_x, float wp_y)
Computes the carrot position along the desired segment.
static enum FlowerStatus CFlowerStatus
API to get/set the generic vehicle states.
struct point waypoints[NB_WAYPOINT]
size == nb_waypoint, waypoint 0 is a dummy waypoint
Fixedwing Navigation library.
static float EdgeCurrentX