From 2b5d33fa07fdf5d3d66ff38ab2d638c8bd788650 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar Do Carmo Lucas" Date: Tue, 2 May 2017 15:47:27 +0200 Subject: [PATCH] AP_RSSI: 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/AP_RSSI/AP_RSSI.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_RSSI/AP_RSSI.cpp b/libraries/AP_RSSI/AP_RSSI.cpp index 8d0b959776..3f6324269e 100644 --- a/libraries/AP_RSSI/AP_RSSI.cpp +++ b/libraries/AP_RSSI/AP_RSSI.cpp @@ -48,7 +48,7 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = { // @Param: PIN_LOW // @DisplayName: Receiver RSSI voltage low // @Description: This is the voltage value that the radio receiver will put on the RSSI_ANA_PIN when the signal strength is the weakest. Since some radio receivers put out inverted values from what you might otherwise expect, this isn't necessarily a lower value than RSSI_PIN_HIGH. - // @Units: Volt + // @Units: V // @Increment: 0.01 // @Range: 0 5.0 // @User: Standard @@ -57,7 +57,7 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = { // @Param: PIN_HIGH // @DisplayName: Receiver RSSI voltage high // @Description: This is the voltage value that the radio receiver will put on the RSSI_ANA_PIN when the signal strength is the strongest. Since some radio receivers put out inverted values from what you might otherwise expect, this isn't necessarily a higher value than RSSI_PIN_LOW. - // @Units: Volt + // @Units: V // @Increment: 0.01 // @Range: 0 5.0 // @User: Standard @@ -73,7 +73,7 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = { // @Param: CHAN_LOW // @DisplayName: Receiver RSSI PWM low value // @Description: This is the PWM value that the radio receiver will put on the RSSI_CHANNEL when the signal strength is the weakest. Since some radio receivers put out inverted values from what you might otherwise expect, this isn't necessarily a lower value than RSSI_CHAN_HIGH. - // @Units: Microseconds + // @Units: PWM // @Range: 0 2000 // @User: Standard AP_GROUPINFO("CHAN_LOW", 5, AP_RSSI, rssi_channel_low_pwm_value, 1000), @@ -81,7 +81,7 @@ const AP_Param::GroupInfo AP_RSSI::var_info[] = { // @Param: CHAN_HIGH // @DisplayName: Receiver RSSI PWM high value // @Description: This is the PWM value that the radio receiver will put on the RSSI_CHANNEL when the signal strength is the strongest. Since some radio receivers put out inverted values from what you might otherwise expect, this isn't necessarily a higher value than RSSI_CHAN_LOW. - // @Units: Microseconds + // @Units: PWM // @Range: 0 2000 // @User: Standard AP_GROUPINFO("CHAN_HIGH", 6, AP_RSSI, rssi_channel_high_pwm_value, 2000),