|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
32 #include "generated/flight_plan.h"
38 #ifndef LINE_START_FUNCTION
39 #define LINE_START_FUNCTION {}
41 #ifndef LINE_STOP_FUNCTION
42 #define LINE_STOP_FUNCTION {}
69 if (sweep_spacing > 0) {
96 VECT2_SMUL(flight_line, flight_vec, sweep_length * 0.5);
#define VECT2_SMUL(_vo, _vi, _s)
#define FLOAT_VECT2_NORMALIZE(_v)
float return_angle
in degrees
#define LINE_START_FUNCTION
void nav_survey_zamboni_setup(uint8_t center_wp, uint8_t dir_wp, float sweep_length, float sweep_spacing, int sweep_lines, float altitude)
initializes the variables needed for the survey to start.
struct FloatVect2 seg_start
void nav_circle_XY(float x, float y, float radius)
Navigates around (x, y).
struct FloatVect2 sweep_width
#define VECT2_ADD(_a, _b)
struct point waypoints[NB_WAYPOINT]
size == nb_waypoint, waypoint 0 is a dummy waypoint
bool nav_survey_zamboni_run(void)
main navigation routine.
struct FloatVect2 turn_center1
#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)
#define CARROT
default approaching_time for a wp
#define NavCourseCloseTo(x)
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.
struct FloatVect2 ret_start
void nav_init_stage(void)
needs to be implemented by fixedwing and rotorcraft seperately
int pre_leave_angle
in degrees.
struct FloatVect2 turn_center2
struct FloatVect2 seg_end
z_survey_stage stage
z_stage starts at ENTRY and than circles trought the other states until to rectangle is completely co...
float flight_angle
in degrees
#define LINE_STOP_FUNCTION
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.
struct FloatVect2 ret_end
#define VECT2_SUM(_c, _a, _b)
struct FloatVect2 wp_center
#define NavVerticalAltitudeMode(_alt, _pre_climb)
Set the vertical mode to altitude control with the specified altitude setpoint and climb pre-command.