[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:
Felix Ruess
2014-04-05 22:08:30 +02:00
parent 97cdc37830
commit d7babaa6b3
41 changed files with 51 additions and 51 deletions
+2 -2
View File
@@ -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