mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 20:38:27 +08:00
[modules] rename nav_x_start to nav_x_setup
find conf sw/airborne/modules \( -name "*.xml" -o -name "*.[ch]" \) -exec sed -i 's/nav_\([a-z_]*\)start(/nav_\1setup(/g' {} \;
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
Survey a polygon with a fixedwing.
|
||||
From Uni Stuttgart.
|
||||
In the flight plan, the survey blocks call init and run functions:
|
||||
1. Initialize the variables needed for the survey to start, with nav_survey_polygon_start(first_wp, size, angle, sweep_width, shot_dist, min_rad, altitude):
|
||||
1. Initialize the variables needed for the survey to start, with nav_survey_polygon_setup(first_wp, size, angle, sweep_width, shot_dist, min_rad, altitude):
|
||||
- first_wp the first Waypoint of the polygon (WP_waypoint_name)
|
||||
- size the number of points that make up the polygon
|
||||
- angle angle in which to do the flyovers
|
||||
@@ -19,7 +19,7 @@ In the flight plan, the survey blocks call init and run functions:
|
||||
Block example:
|
||||
@verbatim
|
||||
<block name="Poly Survey" strip_button="Poly Survey">
|
||||
<call fun="nav_survey_polygon_start(first_wp, size, angle, sweep_width, shot_dist, min_rad, altitude)"/>
|
||||
<call fun="nav_survey_polygon_setup(first_wp, size, angle, sweep_width, shot_dist, min_rad, altitude)"/>
|
||||
<call fun="nav_survey_polygon_run()"/>
|
||||
</block>
|
||||
@endverbatim
|
||||
|
||||
Reference in New Issue
Block a user