From 0ff00e3a5361b58c23330bd0ad2973026ec6dee9 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Sun, 20 Feb 2011 03:46:18 +0000 Subject: [PATCH] added names to output in show git-svn-id: https://arducopter.googlecode.com/svn/trunk@1698 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_Compass/Compass.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Compass/Compass.cpp b/libraries/AP_Compass/Compass.cpp index 538516dec4..fd56cc36be 100644 --- a/libraries/AP_Compass/Compass.cpp +++ b/libraries/AP_Compass/Compass.cpp @@ -5,10 +5,10 @@ // their values. // Compass::Compass(AP_Var::Key key) : - _group(key), - _orientation_matrix(&_group, 0), - _offset(&_group, 1), - _declination(&_group, 2, 0.0), + _group(key, PSTR("COMPASS_")), + _orientation_matrix (&_group, 0), + _offset (&_group, 1), + _declination (&_group, 2, 0.0, PSTR("DEC")), _null_init_done(false) { // Default the orientation matrix to none - will be overridden at group load time @@ -16,6 +16,8 @@ Compass::Compass(AP_Var::Key key) : _orientation_matrix.set(ROTATION_NONE); } +//_group + // Default init method, just returns success. // bool