diff --git a/libraries/SITL/SITL.cpp b/libraries/SITL/SITL.cpp index 48755dea0f..593840fe9f 100644 --- a/libraries/SITL/SITL.cpp +++ b/libraries/SITL/SITL.cpp @@ -94,7 +94,6 @@ const AP_Param::GroupInfo SITL::var_info[] = { AP_GROUPINFO("GP2_GLITCH", 59, SITL, gps2_glitch, 0), AP_GROUPINFO("ENGINE_FAIL", 60, SITL, engine_fail, 0), AP_GROUPINFO("GPS2_TYPE", 61, SITL, gps2_type, SITL::GPS_TYPE_UBLOX), - AP_GROUPINFO("ODOM_ENABLE", 62, SITL, odom_enable, 0), AP_SUBGROUPEXTENSION("", 62, SITL, var_info3), AP_SUBGROUPEXTENSION("", 63, SITL, var_info2), AP_GROUPEND @@ -204,6 +203,7 @@ const AP_Param::GroupInfo SITL::var_info2[] = { // third table of user settable parameters for SITL. const AP_Param::GroupInfo SITL::var_info3[] = { + AP_GROUPINFO("ODOM_ENABLE", 1, SITL, odom_enable, 0), AP_GROUPINFO("MAG1_DEVID", 3, SITL, mag_devid[0], 97539), AP_GROUPINFO("MAG2_DEVID", 4, SITL, mag_devid[1], 131874), AP_GROUPINFO("MAG3_DEVID", 5, SITL, mag_devid[2], 263178),