|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"Go to the source code of this file.
Data Structures | |
| struct | SurveyHybrid |
Functions | |
| void | nav_survey_hybrid_init (void) |
| Init function. | |
| void | nav_survey_hybrid_setup_orientation (uint8_t start_wp, float orientation, uint8_t size, float sweep, float radius, float height) |
| Setup polygon survey. | |
| void | nav_survey_hybrid_setup_towards (uint8_t start_wp, uint8_t second_wp, uint8_t size, float sweep, float radius, float height) |
| Setup "dynamic" polygon survey with sweep orientation towards a waypoint. | |
| bool | nav_survey_hybrid_run (void) |
| Run polygon hybrid survey. | |
Variables | |
| struct SurveyHybrid | survey_hybrid |
| struct SurveyHybrid |
|
extern |
Init function.
Definition at line 184 of file nav_survey_hybrid.c.
References mission_register(), survey_hybrid, SURVEY_HYBRID_HALF_SWEEP_ENABLED, SURVEY_HYBRID_MAX_SWEEP, SURVEY_HYBRID_MAX_SWEEP_BACK, and survey_private.
|
extern |
Run polygon hybrid survey.
Definition at line 399 of file nav_survey_hybrid.c.
References CloseRadAngles, CrossProductZ(), dc_autoshoot, DC_AUTOSHOOT_SURVEY, dc_distance_interval, dc_send_command(), DC_SHOOT, dir, Entry, EvaluateLineForX(), Init, LINE_START_FUNCTION, LINE_STOP_FUNCTION, nav, nav_init_stage(), NavCircleCount, RotateAndTranslateToWorld(), stateGetPositionEnu_f(), survey_hybrid, SURVEY_HYBRID_APPROACHING_TIME, SURVEY_HYBRID_ENTRY_CIRCLE, survey_private, Sweep, Turn, VECT3_COPY, EnuCoor_f::x, EnuCoor_f::y, and EnuCoor_f::z.
|
extern |
Setup polygon survey.
| start_wp | first waypoint/corner of the polygon |
| orientation | angle of scan lines in degrees (CCW, east) |
| size | number of waypoints/corners used to define the polygon |
| sweep | distance between scan lines |
| radius | turn radius (<0: automatic, radius = sweep/2; 0: no turns, use straight lines only; >0: fixed radius) |
| height | starting height in meters |
Definition at line 365 of file nav_survey_hybrid.c.
References nav_survey_hybrid_setup(), SURVEY_HYBRID_MAX_POLYGON_SIZE, survey_private, sweep, and waypoint_get_enu_f().
Referenced by nav_survey_hybrid_setup_towards().
|
extern |
Setup "dynamic" polygon survey with sweep orientation towards a waypoint.
Computes the sweep orientation angle from the line first-second WP.
| start_wp | first waypoint/corner of the polygon |
| second_wp | second waypoint towards which the sweep orientation is computed |
| size | number of waypoints/corners used to define the polygon |
| sweep | distance between scan lines, if zero uses Poly_Distance |
| radius | turn radius (<0: automatic, radius = sweep/2; 0: no turns, use straight lines only; >0: fixed radius) |
| height | starting height in meters |
Definition at line 383 of file nav_survey_hybrid.c.
References nav_survey_hybrid_setup_orientation(), survey_private, sweep, waypoint_get_enu_f(), EnuCoor_f::x, and EnuCoor_f::y.
|
extern |
Definition at line 103 of file nav_survey_hybrid.c.
Referenced by nav_survey_hybrid_init(), nav_survey_hybrid_run(), and nav_survey_hybrid_setup().