Browse Source

AP_Limit: small fixes to make parameter descriptions appear in mission planner

mission-4.1.18
rmackay9 12 years ago
parent
commit
45b6dbf580
  1. 2
      libraries/AP_Limits/AP_Limit_Altitude.cpp
  2. 5
      libraries/AP_Limits/AP_Limit_Geofence.cpp

2
libraries/AP_Limits/AP_Limit_Altitude.cpp

@ -18,7 +18,7 @@ const AP_Param::GroupInfo AP_Limit_Altitude::var_info[] PROGMEM = { @@ -18,7 +18,7 @@ const AP_Param::GroupInfo AP_Limit_Altitude::var_info[] PROGMEM = {
// @User: Standard
AP_GROUPINFO("ALT_ON", 0, AP_Limit_Altitude, _enabled, 0),
// @Param: ALT_REQD
// @Param: ALT_REQ
// @DisplayName: Require altitude
// @Description: Setting this to Enabled(1) will make being inside the altitude a required check before arming the vehicle.
// @Values: 0:Disabled,1:Enabled

5
libraries/AP_Limits/AP_Limit_Geofence.cpp

@ -43,6 +43,11 @@ const AP_Param::GroupInfo AP_Limit_Geofence::var_info[] PROGMEM = { @@ -43,6 +43,11 @@ const AP_Param::GroupInfo AP_Limit_Geofence::var_info[] PROGMEM = {
// @User: Standard
AP_GROUPINFO("FNC_RAD", 3, AP_Limit_Geofence, _radius, 0),
// @Param: FNC_TOT
// @DisplayName: Total number of geofence points
// @Description: Total number of geofence points. This parameter should not be updated manually
// @Range: 0 6
// @Increment: 1
AP_GROUPINFO("FNC_TOT", 4, AP_Limit_Geofence, _fence_total, 0),
AP_GROUPEND

Loading…
Cancel
Save