Browse Source

SITL: lower the default noise

prevents problems calibrating the gyro
master
Andrew Tridgell 10 years ago
parent
commit
1127b716c4
  1. 10
      libraries/SITL/SITL.cpp

10
libraries/SITL/SITL.cpp

@ -27,12 +27,12 @@ extern const AP_HAL::HAL& hal; @@ -27,12 +27,12 @@ extern const AP_HAL::HAL& hal;
// table of user settable parameters
const AP_Param::GroupInfo SITL::var_info[] PROGMEM = {
AP_GROUPINFO("BARO_RND", 0, SITL, baro_noise, 1),
AP_GROUPINFO("GYR_RND", 1, SITL, gyro_noise, 5),
AP_GROUPINFO("ACC_RND", 2, SITL, accel_noise, 2),
AP_GROUPINFO("MAG_RND", 3, SITL, mag_noise, 5),
AP_GROUPINFO("BARO_RND", 0, SITL, baro_noise, 0.2f),
AP_GROUPINFO("GYR_RND", 1, SITL, gyro_noise, 0),
AP_GROUPINFO("ACC_RND", 2, SITL, accel_noise, 0),
AP_GROUPINFO("MAG_RND", 3, SITL, mag_noise, 0),
AP_GROUPINFO("GPS_DISABLE",4, SITL, gps_disable, 0),
AP_GROUPINFO("DRIFT_SPEED",5, SITL, drift_speed, 0.2f),
AP_GROUPINFO("DRIFT_SPEED",5, SITL, drift_speed, 0.05f),
AP_GROUPINFO("DRIFT_TIME", 6, SITL, drift_time, 5),
AP_GROUPINFO("GPS_DELAY", 7, SITL, gps_delay, 1),
AP_GROUPINFO("ENGINE_MUL", 8, SITL, engine_mul, 1),

Loading…
Cancel
Save