SITL: added SIM_TEMP_BFACTOR

for barometer temperature error
This commit is contained in:
Andrew Tridgell 2017-04-13 08:48:50 +10:00
parent ac82d1a65d
commit d50dcb5ad2
2 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ const AP_Param::GroupInfo SITL::var_info2[] = {
AP_GROUPINFO("TEMP_START", 1, SITL, temp_start, 25),
AP_GROUPINFO("TEMP_FLIGHT", 2, SITL, temp_flight, 35),
AP_GROUPINFO("TEMP_TCONST", 3, SITL, temp_tconst, 30),
AP_GROUPINFO("TEMP_BFACTOR", 4, SITL, temp_baro_factor, 0),
AP_GROUPEND
};

View File

@ -151,6 +151,7 @@ public:
AP_Float temp_start;
AP_Float temp_flight;
AP_Float temp_tconst;
AP_Float temp_baro_factor;
uint16_t irlock_port;