|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
33 #include "generated/flight_plan.h"
38 static bool nav_flower_mission(
uint8_t nb,
float *params,
bool init)
121 bool InCircle =
true;
static float DistanceFromCenter
static float TransCurrentX
static struct EnuCoor_f * stateGetPositionEnu_f(void)
Get position in local ENU coordinates (float).
static float EdgeCurrentX
void nav_circle_XY(float x, float y, float radius)
Navigates around (x, y).
bool nav_flower_run(void)
void nav_flower_setup(uint8_t CenterWP, uint8_t EdgeWP)
struct point waypoints[NB_WAYPOINT]
size == nb_waypoint, waypoint 0 is a dummy waypoint
#define NavVerticalAutoThrottleMode(_pitch)
Set the climb control to auto-throttle with the specified pitch pre-command.
FlowerStatus
Makes a flower pattern.
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.
void nav_init_stage(void)
needs to be implemented by fixedwing and rotorcraft seperately
void nav_flower_init(void)
static float TransCurrentY
static enum FlowerStatus CFlowerStatus
static float EdgeCurrentY
bool mission_register(mission_custom_cb cb, char *type)
Register a new navigation or action callback function.
static float Flowerradius
#define NavVerticalAltitudeMode(_alt, _pre_climb)
Set the vertical mode to altitude control with the specified altitude setpoint and climb pre-command.