AP_Compass: SITL: use new scale param
This commit is contained in:
parent
071ff39ff8
commit
2fa2e70e7e
@ -37,9 +37,9 @@ AP_Compass_SITL::AP_Compass_SITL()
|
||||
|
||||
// we want to simulate a calibrated compass by default, so set
|
||||
// scale to 1
|
||||
AP_Param::set_default_by_name("COMPASS_SCALE", 1);
|
||||
AP_Param::set_default_by_name("COMPASS_SCALE2", 1);
|
||||
AP_Param::set_default_by_name("COMPASS_SCALE3", 1);
|
||||
AP_Param::set_default_by_name("COMPASS1_SCALE", 1);
|
||||
AP_Param::set_default_by_name("COMPASS2_SCALE", 1);
|
||||
AP_Param::set_default_by_name("COMPASS3_SCALE", 1);
|
||||
|
||||
// make first compass external
|
||||
set_external(_compass_instance[0], true);
|
||||
|
Loading…
Reference in New Issue
Block a user