|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
38 #include "generated/flight_plan.h"
44 #ifndef NAV_SPIRAL_MIN_CIRCLE_RADIUS
45 #define NAV_SPIRAL_MIN_CIRCLE_RADIUS 60
93 float DistanceStartEstim;
struct NavSpiral nav_spiral
struct FloatVect2 fly_from
#define dc_Circle(interval)
static struct EnuCoor_f * stateGetPositionEnu_f(void)
Get position in local ENU coordinates (float).
uint8_t dc_stop(void)
Stop dc control.
void nav_circle_XY(float x, float y, float radius)
Navigates around (x, y).
static struct UtmCoor_f * stateGetPositionUtm_f(void)
Get position in UTM coordinates (float).
struct point waypoints[NB_WAYPOINT]
size == nb_waypoint, waypoint 0 is a dummy waypoint
#define FLOAT_VECT3_NORM(_v)
#define NavVerticalAutoThrottleMode(_pitch)
Set the climb control to auto-throttle with the specified pitch pre-command.
#define VECT2_DIFF(_c, _a, _b)
#define VECT2_COPY(_a, _b)
struct FloatVect2 pos_diff
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 float float_vect2_norm(struct FloatVect2 *v)
struct FloatVect2 last_circle
float alt
in meters (above WGS84 reference ellipsoid or above MSL)
void dc_send_command(uint8_t cmd)
Send Command To Camera.
#define NAV_SPIRAL_MIN_CIRCLE_RADIUS
vector in East North Up coordinates Units: meters
struct FloatVect3 trans_current
bool nav_spiral_run(void)
bool nav_approaching_xy(float x, float y, float from_x, float from_y, float approaching_time)
Decide if the UAV is approaching the current waypoint.
void nav_spiral_setup(uint8_t center_wp, uint8_t edge_wp, float radius_start, float radius_inc, float segments)
float dc_cam_angle
camera angle
#define NavVerticalAltitudeMode(_alt, _pre_climb)
Set the vertical mode to altitude control with the specified altitude setpoint and climb pre-command.