From 080eaece5ea4ee7c70f7a5b2ad5181aad801bf69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Fri, 2 Aug 2019 02:33:18 +0200
Subject: [PATCH] Disable self-calib in hello_wolf by default.

---
 hello_wolf/hello_wolf.cpp          | 8 ++++----
 hello_wolf/hello_wolf_autoconf.cpp | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/hello_wolf/hello_wolf.cpp b/hello_wolf/hello_wolf.cpp
index 827d6d77b..e46557c44 100644
--- a/hello_wolf/hello_wolf.cpp
+++ b/hello_wolf/hello_wolf.cpp
@@ -139,12 +139,12 @@ int main()
 
     // SELF CALIBRATION ===================================================
 
-    // NOTE: SELF-CALIBRATION OF SENSOR ORIENTATION
+    // SELF-CALIBRATION OF SENSOR ORIENTATION
     // Uncomment this line below to achieve sensor self-calibration (of the orientation only, since the position is not observable)
-    sensor_rb->getO()->unfix();
+    // sensor_rb->getO()->unfix();
 
-    // NOTE: SELF-CALIBRATION OF SENSOR POSITION
-    // The position is however not observable, and thus self-calibration would not work. You can try uncommenting it too.
+    // SELF-CALIBRATION OF SENSOR POSITION
+    // The position is however not observable, and thus self-calibration would not work. You can try uncommenting the line below.
     // sensor_rb->getP()->unfix();
 
     // CONFIGURE ==========================================================
diff --git a/hello_wolf/hello_wolf_autoconf.cpp b/hello_wolf/hello_wolf_autoconf.cpp
index df2f34fef..369dbe96c 100644
--- a/hello_wolf/hello_wolf_autoconf.cpp
+++ b/hello_wolf/hello_wolf_autoconf.cpp
@@ -131,12 +131,12 @@ int main()
     // SELF CALIBRATION ===================================================
     // These few lines control whether we calibrate some sensor parameters or not.
 
-    // NOTE: SELF-CALIBRATION OF SENSOR ORIENTATION
+    // SELF-CALIBRATION OF SENSOR ORIENTATION
     // Uncomment this line below to achieve sensor self-calibration (of the orientation only, since the position is not observable)
-    sensor_rb->getO()->unfix();
+    // sensor_rb->getO()->unfix();
 
-    // NOTE: SELF-CALIBRATION OF SENSOR POSITION
-    // The position is however not observable, and thus self-calibration would not work. You can try uncommenting it too.
+    // SELF-CALIBRATION OF SENSOR POSITION
+    // The position is however not observable, and thus self-calibration would not work. You can try uncommenting the line below.
     // sensor_rb->getP()->unfix();
 
     // CONFIGURE input data (motion and measurements) ==============================================
-- 
GitLab