AP_GPS: 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
This commit is contained in:
Dr.-Ing. Amilcar Do Carmo Lucas 2017-05-02 15:43:10 +02:00 committed by Andrew Tridgell
parent 4c45b1c7ca
commit 2d5033b132
1 changed files with 6 additions and 6 deletions

View File

@ -109,7 +109,7 @@ const AP_Param::GroupInfo AP_GPS::var_info[] = {
// @DisplayName: Minimum elevation // @DisplayName: Minimum elevation
// @Description: This sets the minimum elevation of satellites above the horizon for them to be used for navigation. Setting this to -100 leaves the minimum elevation set to the GPS modules default. // @Description: This sets the minimum elevation of satellites above the horizon for them to be used for navigation. Setting this to -100 leaves the minimum elevation set to the GPS modules default.
// @Range: -100 90 // @Range: -100 90
// @Units: Degrees // @Units: deg
// @User: Advanced // @User: Advanced
AP_GROUPINFO("MIN_ELEV", 6, AP_GPS, _min_elevation, -100), AP_GROUPINFO("MIN_ELEV", 6, AP_GPS, _min_elevation, -100),
@ -168,7 +168,7 @@ const AP_Param::GroupInfo AP_GPS::var_info[] = {
// @Param: RATE_MS // @Param: RATE_MS
// @DisplayName: GPS update rate in milliseconds // @DisplayName: GPS update rate in milliseconds
// @Description: Controls how often the GPS should provide a position update. Lowering below 5Hz is not allowed // @Description: Controls how often the GPS should provide a position update. Lowering below 5Hz is not allowed
// @Units: milliseconds // @Units: ms
// @Values: 100:10Hz,125:8Hz,200:5Hz // @Values: 100:10Hz,125:8Hz,200:5Hz
// @Range: 50 200 // @Range: 50 200
// @User: Advanced // @User: Advanced
@ -177,7 +177,7 @@ const AP_Param::GroupInfo AP_GPS::var_info[] = {
// @Param: RATE_MS2 // @Param: RATE_MS2
// @DisplayName: GPS 2 update rate in milliseconds // @DisplayName: GPS 2 update rate in milliseconds
// @Description: Controls how often the GPS should provide a position update. Lowering below 5Hz is not allowed // @Description: Controls how often the GPS should provide a position update. Lowering below 5Hz is not allowed
// @Units: milliseconds // @Units: ms
// @Values: 100:10Hz,125:8Hz,200:5Hz // @Values: 100:10Hz,125:8Hz,200:5Hz
// @Range: 50 200 // @Range: 50 200
// @User: Advanced // @User: Advanced
@ -224,7 +224,7 @@ const AP_Param::GroupInfo AP_GPS::var_info[] = {
// @Param: DELAY_MS // @Param: DELAY_MS
// @DisplayName: GPS delay in milliseconds // @DisplayName: GPS delay in milliseconds
// @Description: Controls the amount of GPS measurement delay that the autopilot compensates for. Set to zero to use the default delay for the detected GPS type. // @Description: Controls the amount of GPS measurement delay that the autopilot compensates for. Set to zero to use the default delay for the detected GPS type.
// @Units: milliseconds // @Units: ms
// @Range: 0 250 // @Range: 0 250
// @User: Advanced // @User: Advanced
AP_GROUPINFO("DELAY_MS", 18, AP_GPS, _delay_ms[0], 0), AP_GROUPINFO("DELAY_MS", 18, AP_GPS, _delay_ms[0], 0),
@ -232,7 +232,7 @@ const AP_Param::GroupInfo AP_GPS::var_info[] = {
// @Param: DELAY_MS2 // @Param: DELAY_MS2
// @DisplayName: GPS 2 delay in milliseconds // @DisplayName: GPS 2 delay in milliseconds
// @Description: Controls the amount of GPS measurement delay that the autopilot compensates for. Set to zero to use the default delay for the detected GPS type. // @Description: Controls the amount of GPS measurement delay that the autopilot compensates for. Set to zero to use the default delay for the detected GPS type.
// @Units: milliseconds // @Units: ms
// @Range: 0 250 // @Range: 0 250
// @User: Advanced // @User: Advanced
AP_GROUPINFO("DELAY_MS2", 19, AP_GPS, _delay_ms[1], 0), AP_GROUPINFO("DELAY_MS2", 19, AP_GPS, _delay_ms[1], 0),
@ -247,7 +247,7 @@ const AP_Param::GroupInfo AP_GPS::var_info[] = {
// @Param: BLEND_TC // @Param: BLEND_TC
// @DisplayName: Blending time constant // @DisplayName: Blending time constant
// @Description: Controls the slowest time constant applied to the calculation of GPS position and height offsets used to adjust different GPS receivers for steady state position differences. // @Description: Controls the slowest time constant applied to the calculation of GPS position and height offsets used to adjust different GPS receivers for steady state position differences.
// @Units: seconds // @Units: s
// @Range: 5.0 30.0 // @Range: 5.0 30.0
// @User: Advanced // @User: Advanced
AP_GROUPINFO("BLEND_TC", 21, AP_GPS, _blend_tc, 10.0f), AP_GROUPINFO("BLEND_TC", 21, AP_GPS, _blend_tc, 10.0f),