From 1c96bf0b1db4db83ea0fa674bf017e6783b692f8 Mon Sep 17 00:00:00 2001 From: Ju1ien Date: Sat, 23 Aug 2014 13:49:30 +0200 Subject: [PATCH] AP_Mount.cpp - correct units in description That should be corrected also in MP as the current code is expecting degrees, not centidegrees. --- libraries/AP_Mount/AP_Mount.cpp | 36 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/libraries/AP_Mount/AP_Mount.cpp b/libraries/AP_Mount/AP_Mount.cpp index 73a530477d..7805f6f970 100644 --- a/libraries/AP_Mount/AP_Mount.cpp +++ b/libraries/AP_Mount/AP_Mount.cpp @@ -35,24 +35,24 @@ const AP_Param::GroupInfo AP_Mount::var_info[] PROGMEM = { // @Param: RETRACT_X // @DisplayName: Mount roll angle when in retracted position // @Description: Mount roll angle when in retracted position - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @User: Standard // @Param: RETRACT_Y // @DisplayName: Mount tilt/pitch angle when in retracted position // @Description: Mount tilt/pitch angle when in retracted position - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @User: Standard // @Param: RETRACT_Z // @DisplayName: Mount yaw/pan angle when in retracted position // @Description: Mount yaw/pan angle when in retracted position - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @User: Standard AP_GROUPINFO("RETRACT", 1, AP_Mount, _retract_angles, 0), @@ -61,24 +61,24 @@ const AP_Param::GroupInfo AP_Mount::var_info[] PROGMEM = { // @Param: NEUTRAL_X // @DisplayName: Mount roll angle when in neutral position // @Description: Mount roll angle when in neutral position - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @User: Standard // @Param: NEUTRAL_Y // @DisplayName: Mount tilt/pitch angle when in neutral position // @Description: Mount tilt/pitch angle when in neutral position - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @User: Standard // @Param: NEUTRAL_Z // @DisplayName: Mount pan/yaw angle when in neutral position // @Description: Mount pan/yaw angle when in neutral position - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @User: Standard AP_GROUPINFO("NEUTRAL", 2, AP_Mount, _neutral_angles, 0), @@ -86,22 +86,22 @@ const AP_Param::GroupInfo AP_Mount::var_info[] PROGMEM = { // @Param: CONTROL_X // @DisplayName: Mount roll angle command from groundstation // @Description: Mount roll angle when in MavLink or RC control operation mode - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @Param: CONTROL_Y // @DisplayName: Mount tilt/pitch angle command from groundstation // @Description: Mount tilt/pitch angle when in MavLink or RC control operation mode - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 // @Param: CONTROL_Z // @DisplayName: Mount pan/yaw angle command from groundstation // @Description: Mount pan/yaw angle when in MavLink or RC control operation mode - // @Units: Centi-Degrees - // @Range: -18000 17999 + // @Units: Degrees + // @Range: -180.00 179.99 // @Increment: 1 AP_GROUPINFO("CONTROL", 3, AP_Mount, _control_angles, 0),