mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +08:00
[nav] match other modules function name for zamboni survey
This commit is contained in:
committed by
Felix Ruess
parent
46067aab06
commit
64d518d785
@@ -48,7 +48,7 @@ struct ZamboniSurvey zs;
|
|||||||
* @param sweep_lines number of sweep_lines to fly
|
* @param sweep_lines number of sweep_lines to fly
|
||||||
* @param altitude the altitude that must be reached before the flyover starts
|
* @param altitude the altitude that must be reached before the flyover starts
|
||||||
*/
|
*/
|
||||||
bool_t init_zamboni_survey(uint8_t center_wp, uint8_t dir_wp, float sweep_length, float sweep_spacing, int sweep_lines, float altitude)
|
bool_t zamboni_survey_start(uint8_t center_wp, uint8_t dir_wp, float sweep_length, float sweep_spacing, int sweep_lines, float altitude)
|
||||||
{
|
{
|
||||||
zs.current_laps = 0;
|
zs.current_laps = 0;
|
||||||
zs.pre_leave_angle = 2;
|
zs.pre_leave_angle = 2;
|
||||||
@@ -121,7 +121,7 @@ bool_t init_zamboni_survey(uint8_t center_wp, uint8_t dir_wp, float sweep_length
|
|||||||
*
|
*
|
||||||
* @returns TRUE until the survey is finished
|
* @returns TRUE until the survey is finished
|
||||||
*/
|
*/
|
||||||
bool_t zamboni_survey(void)
|
bool_t zamboni_survey_run(void)
|
||||||
{
|
{
|
||||||
// retain altitude
|
// retain altitude
|
||||||
NavVerticalAutoThrottleMode(0.0);
|
NavVerticalAutoThrottleMode(0.0);
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ struct ZamboniSurvey {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
extern bool_t init_zamboni_survey(uint8_t center_wp, uint8_t dir_wp, float sweep_length, float sweep_spacing, int sweep_lines, float altitude);
|
extern bool_t zamboni_survey_start(uint8_t center_wp, uint8_t dir_wp, float sweep_length, float sweep_spacing, int sweep_lines, float altitude);
|
||||||
extern bool_t zamboni_survey(void);
|
extern bool_t zamboni_survey_run(void);
|
||||||
|
|
||||||
#endif //ZAMBONI_SURVEY_H
|
#endif //ZAMBONI_SURVEY_H
|
||||||
|
|||||||
Reference in New Issue
Block a user