From 3699932417a4eaa88d8c240cefe61901c25fd943 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Sep 2015 14:24:39 +1000 Subject: [PATCH] AP_Compass: fixed SITL compass --- libraries/AP_Compass/AP_Compass_HIL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Compass/AP_Compass_HIL.cpp b/libraries/AP_Compass/AP_Compass_HIL.cpp index eba43cb800..c1588bca79 100644 --- a/libraries/AP_Compass/AP_Compass_HIL.cpp +++ b/libraries/AP_Compass/AP_Compass_HIL.cpp @@ -64,6 +64,7 @@ void AP_Compass_HIL::read() uint8_t compass_instance = _compass_instance[i]; Vector3f field = _compass._hil.field[compass_instance]; rotate_field(field, compass_instance); + publish_raw_field(field, hal.scheduler->micros(), compass_instance); correct_field(field, compass_instance); publish_filtered_field(field, compass_instance); }