From a05eeab55edbf13cfa1c3def2c8ec1754d0c4e9c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 3 Mar 2012 14:15:26 +1100 Subject: [PATCH] SITL: reduce the simulated compass offsets this was causing us problems in getting DCM right --- libraries/Desktop/support/sitl_compass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Desktop/support/sitl_compass.cpp b/libraries/Desktop/support/sitl_compass.cpp index 0040652671..46a3653def 100644 --- a/libraries/Desktop/support/sitl_compass.cpp +++ b/libraries/Desktop/support/sitl_compass.cpp @@ -16,8 +16,8 @@ #include "desktop.h" #include "util.h" -#define MAG_OFS_X 17.0 -#define MAG_OFS_Y 125.0 +#define MAG_OFS_X 5.0 +#define MAG_OFS_Y 13.0 #define MAG_OFS_Z -18.0 /*