Browse Source

SITL: added SIM_RC_CHANCOUNT parameter

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
128ea42286
  1. 1
      libraries/SITL/SITL.cpp
  2. 1
      libraries/SITL/SITL.h

1
libraries/SITL/SITL.cpp

@ -121,6 +121,7 @@ const AP_Param::GroupInfo SITL::var_info2[] = { @@ -121,6 +121,7 @@ const AP_Param::GroupInfo SITL::var_info2[] = {
AP_GROUPINFO("MAG_DIA", 18, SITL, mag_diag, 0),
AP_GROUPINFO("MAG_ODI", 19, SITL, mag_offdiag, 0),
AP_GROUPINFO("MAG_ORIENT", 20, SITL, mag_orient, 0),
AP_GROUPINFO("RC_CHANCOUNT",21, SITL, rc_chancount, 16),
AP_GROUPEND
};

1
libraries/SITL/SITL.h

@ -134,6 +134,7 @@ public: @@ -134,6 +134,7 @@ public:
AP_Float batt_voltage; // battery voltage base
AP_Float accel_fail; // accelerometer failure value
AP_Int8 rc_fail; // fail RC input
AP_Int8 rc_chancount; // channel count
AP_Int8 baro_disable; // disable simulated barometer
AP_Int8 float_exception; // enable floating point exception checks
AP_Int8 flow_enable; // enable simulated optflow

Loading…
Cancel
Save