Skip to content

Commit

Permalink
[modules] nav_survey_x name fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Nov 6, 2013
1 parent 6768662 commit f05f5b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
@@ -1,16 +1,16 @@
<!DOCTYPE module SYSTEM "module.dtd">

<module name="nav_poly_survey_osam" dir="nav">
<module name="nav_survey_poly" dir="nav">
<doc>
<description>
Polygon survey from OSAM
</description>
</doc>
<header>
<file name="nav_poly_survey_osam.h"/>
<file name="nav_survey_poly_osam.h"/>
</header>
<makefile>
<file name="nav_poly_survey_osam.c"/>
<file name="nav_survey_poly_osam.c"/>
</makefile>
</module>

4 changes: 2 additions & 2 deletions sw/airborne/modules/nav/nav_survey_poly_adv.c
Expand Up @@ -129,7 +129,7 @@ static bool_t get_two_intersects(struct FloatVect2 *x, struct FloatVect2 *y, str
* @param min_rad minimal radius when navigating
* @param altitude the altitude that must be reached before the flyover starts
**/
bool_t poly_survey_adv_start(uint8_t first_wp, uint8_t size, float angle, float sweep_width, float shot_dist, float min_rad, float altitude)
bool_t nav_survey_poly_adv_start(uint8_t first_wp, uint8_t size, float angle, float sweep_width, float shot_dist, float min_rad, float altitude)
{
int i;
struct FloatVect2 small, sweep;
Expand Down Expand Up @@ -230,7 +230,7 @@ bool_t poly_survey_adv_start(uint8_t first_wp, uint8_t size, float angle, float
* Position and stage and navigates accordingly.
* Returns True until the survey is finished
*/
bool_t poly_survey_adv_run(void)
bool_t nav_survey_poly_adv_run(void)
{
NavVerticalAutoThrottleMode(0.0);
NavVerticalAltitudeMode(survey.psa_altitude, 0.0);
Expand Down
4 changes: 2 additions & 2 deletions sw/airborne/modules/nav/nav_survey_poly_adv.h
Expand Up @@ -82,7 +82,7 @@ struct SurveyPolyAdv {
struct FloatVect2 ret_end;
};

extern bool_t poly_survey_adv_start(uint8_t first_wp, uint8_t size, float angle, float sweep_width, float shot_dist, float min_rad, float altitude);
extern bool_t poly_survey_adv_run(void);
extern bool_t nav_survey_poly_adv_start(uint8_t first_wp, uint8_t size, float angle, float sweep_width, float shot_dist, float min_rad, float altitude);
extern bool_t nav_survey_poly_adv_run(void);

#endif

0 comments on commit f05f5b2

Please sign in to comment.