SITL: added SIM_ODOM_ENABLE
for enabling visual odomotry simulated data
This commit is contained in:
parent
56aa467d60
commit
67404e9660
@ -92,6 +92,7 @@ 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_GROUPEND
|
||||
};
|
||||
|
||||
|
@ -115,7 +115,8 @@ public:
|
||||
AP_Int8 terrain_enable; // enable using terrain for height
|
||||
AP_Int8 pin_mask; // for GPIO emulation
|
||||
AP_Float speedup; // simulation speedup
|
||||
|
||||
AP_Int8 odom_enable; // enable visual odomotry data
|
||||
|
||||
// wind control
|
||||
float wind_speed_active;
|
||||
float wind_direction_active;
|
||||
|
Loading…
Reference in New Issue
Block a user