mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_Compass: don't apply offsets twice in SITL
This commit is contained in:
parent
5b955333ce
commit
55e4b64755
@ -116,10 +116,6 @@ void AP_Compass_SITL::_timer()
|
||||
f.rotate(get_board_orientation());
|
||||
}
|
||||
|
||||
rotate_field(f, _compass_instance[i]);
|
||||
publish_raw_field(f, _compass_instance[i]);
|
||||
correct_field(f, _compass_instance[i]);
|
||||
|
||||
accumulate_sample(f, _compass_instance[i], 10);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user