From 9ac429ab13acac2833ac37657cf2337c7f3ebb53 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar Do Carmo Lucas" Date: Tue, 2 May 2017 15:38:01 +0200 Subject: [PATCH] AC_Fence: Use SI units conventions in parameter units Follow the rules from: http://physics.nist.gov/cuu/Units/units.html http://physics.nist.gov/cuu/Units/outside.html and http://physics.nist.gov/cuu/Units/checklist.html one further constrain is that only printable (7bit) ASCII characters are allowed --- libraries/AC_Fence/AC_Fence.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AC_Fence/AC_Fence.cpp b/libraries/AC_Fence/AC_Fence.cpp index bc916ce07a..5a252ad3d2 100644 --- a/libraries/AC_Fence/AC_Fence.cpp +++ b/libraries/AC_Fence/AC_Fence.cpp @@ -31,7 +31,7 @@ const AP_Param::GroupInfo AC_Fence::var_info[] = { // @Param: ALT_MAX // @DisplayName: Fence Maximum Altitude // @Description: Maximum altitude allowed before geofence triggers - // @Units: Meters + // @Units: m // @Range: 10 1000 // @Increment: 1 // @User: Standard @@ -40,7 +40,7 @@ const AP_Param::GroupInfo AC_Fence::var_info[] = { // @Param: RADIUS // @DisplayName: Circular Fence Radius // @Description: Circle fence radius which when breached will cause an RTL - // @Units: Meters + // @Units: m // @Range: 30 10000 // @User: Standard AP_GROUPINFO("RADIUS", 4, AC_Fence, _circle_radius, AC_FENCE_CIRCLE_RADIUS_DEFAULT), @@ -48,7 +48,7 @@ const AP_Param::GroupInfo AC_Fence::var_info[] = { // @Param: MARGIN // @DisplayName: Fence Margin // @Description: Distance that autopilot's should maintain from the fence to avoid a breach - // @Units: Meters + // @Units: m // @Range: 1 10 // @User: Standard AP_GROUPINFO("MARGIN", 5, AC_Fence, _margin, AC_FENCE_MARGIN_DEFAULT), @@ -63,7 +63,7 @@ const AP_Param::GroupInfo AC_Fence::var_info[] = { // @Param: ALT_MIN // @DisplayName: Fence Minimum Altitude // @Description: Minimum altitude allowed before geofence triggers - // @Units: Meters + // @Units: m // @Range: -100 100 // @Increment: 1 // @User: Standard