Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
from OSAM advanced navigation routines More...
#include "modules/nav/nav_flower.h"
#include "firmwares/fixedwing/nav.h"
#include "state.h"
#include "autopilot.h"
#include "generated/flight_plan.h"
Go to the source code of this file.
Enumerations | |
enum | FlowerStatus { Outside, FlowerLine, Circle } |
Makes a flower pattern. More... | |
Functions | |
bool_t | nav_flower_setup (uint8_t CenterWP, uint8_t EdgeWP) |
bool_t | nav_flower_run (void) |
Variables | |
static enum FlowerStatus | CFlowerStatus |
static float | CircleX |
static float | CircleY |
static float | Fly2X |
static float | Fly2Y |
static float | FlyFromX |
static float | FlyFromY |
static float | TransCurrentX |
static float | TransCurrentY |
static float | EdgeCurrentX |
static float | EdgeCurrentY |
static float | DistanceFromCenter |
static float | FlowerTheta |
static float | Flowerradius |
static uint8_t | Center |
static uint8_t | Edge |
from OSAM advanced navigation routines
Definition in file nav_flower.c.
enum FlowerStatus |
Makes a flower pattern.
CenterWP is the center of the flower. The Navigation Height is taken from this waypoint. EdgeWP defines the radius of the flower (distance from CenterWP to EdgeWP)
Enumerator | |
---|---|
Outside | |
FlowerLine | |
Circle |
Definition at line 42 of file nav_flower.c.
bool_t nav_flower_run | ( | void | ) |
Definition at line 91 of file nav_flower.c.
References Center, CFlowerStatus, Circle, CircleX, CircleY, DistanceFromCenter, Edge, EdgeCurrentX, EdgeCurrentY, FALSE, FlowerLine, Flowerradius, FlowerTheta, Fly2X, Fly2Y, FlyFromX, FlyFromY, nav_circle_XY(), nav_init_stage(), nav_radius, nav_route_xy(), NavVerticalAltitudeMode, NavVerticalAutoThrottleMode, Outside, stateGetPositionEnu_f(), TransCurrentX, TransCurrentY, TRUE, waypoints, WaypointX, WaypointY, EnuCoor_f::x, and EnuCoor_f::y.
Definition at line 60 of file nav_flower.c.
References Center, CFlowerStatus, CircleX, CircleY, DistanceFromCenter, Edge, EdgeCurrentX, EdgeCurrentY, FALSE, FlowerLine, Flowerradius, FlowerTheta, Fly2X, Fly2Y, FlyFromX, FlyFromY, Outside, stateGetPositionEnu_f(), TransCurrentX, TransCurrentY, WaypointX, WaypointY, EnuCoor_f::x, and EnuCoor_f::y.
|
static |
Definition at line 57 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 43 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 44 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 45 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 54 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 58 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 52 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 53 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 56 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 55 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 46 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 47 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 48 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 49 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 50 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().
|
static |
Definition at line 51 of file nav_flower.c.
Referenced by nav_flower_run(), and nav_flower_setup().