mirror of https://github.com/ArduPilot/ardupilot
AC_CustomControl: Fix some typos
Fixed some typos found in the code.
This commit is contained in:
parent
6c426ab637
commit
c5abee2f88
|
@ -32,7 +32,7 @@ public:
|
|||
bool is_safe_to_run(void);
|
||||
void log_switch(void);
|
||||
|
||||
// zero index controller type param, only use it to acces _backend or _backend_var_info array
|
||||
// zero index controller type param, only use it to access _backend or _backend_var_info array
|
||||
uint8_t get_type() { return _controller_type > 0 ? (_controller_type - 1) : 0; };
|
||||
|
||||
// User settable parameters
|
||||
|
|
|
@ -8,19 +8,19 @@
|
|||
const AP_Param::GroupInfo AC_CustomControl_Empty::var_info[] = {
|
||||
// @Param: PARAM1
|
||||
// @DisplayName: Empty param1
|
||||
// @Description: Dumy parameter for empty custom controller backend
|
||||
// @Description: Dummy parameter for empty custom controller backend
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO("PARAM1", 1, AC_CustomControl_Empty, param1, 0.0f),
|
||||
|
||||
// @Param: PARAM2
|
||||
// @DisplayName: Empty param2
|
||||
// @Description: Dumy parameter for empty custom controller backend
|
||||
// @Description: Dummy parameter for empty custom controller backend
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO("PARAM2", 2, AC_CustomControl_Empty, param2, 0.0f),
|
||||
|
||||
// @Param: PARAM3
|
||||
// @DisplayName: Empty param3
|
||||
// @Description: Dumy parameter for empty custom controller backend
|
||||
// @Description: Dummy parameter for empty custom controller backend
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO("PARAM3", 3, AC_CustomControl_Empty, param3, 0.0f),
|
||||
|
||||
|
@ -54,7 +54,7 @@ Vector3f AC_CustomControl_Empty::update(void)
|
|||
break;
|
||||
}
|
||||
|
||||
// arducopter main attitude controller already runned
|
||||
// arducopter main attitude controller already ran
|
||||
// we don't need to do anything else
|
||||
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "empty custom controller working");
|
||||
|
|
Loading…
Reference in New Issue