From 8351afdca8f402d8279e46832682946f1a2830eb Mon Sep 17 00:00:00 2001 From: Michael Schaeuble Date: Thu, 21 Jul 2016 17:10:27 +0200 Subject: [PATCH] Initialize mag scaling with reasonable defaults --- src/modules/commander/mag_calibration.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/commander/mag_calibration.cpp b/src/modules/commander/mag_calibration.cpp index 20b93f10fa..7cfcc6a700 100644 --- a/src/modules/commander/mag_calibration.cpp +++ b/src/modules/commander/mag_calibration.cpp @@ -664,6 +664,10 @@ calibrate_return mag_calibrate_all(orb_advert_t *mavlink_log_pub) for (unsigned cur_mag=0; cur_mag