From 2b06480278d71ab19ad6aa41b0e4965712c3e27d Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 25 Aug 2011 15:17:10 +0000 Subject: [PATCH] Parameter SensorStateOnly : set default to true (actions not used for nearest neighbor) Plot : set addLine input to 4 decimals (was 2) git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@312 f169173b-cf89-36c8-b27e-44dbe73f0c83 --- corelib/include/rtabmap/core/Parameters.h | 2 +- guilib/src/Plot.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/corelib/include/rtabmap/core/Parameters.h b/corelib/include/rtabmap/core/Parameters.h index eda39cca..5a2e9bff 100644 --- a/corelib/include/rtabmap/core/Parameters.h +++ b/corelib/include/rtabmap/core/Parameters.h @@ -166,7 +166,7 @@ class RTABMAP_EXP Parameters RTABMAP_PARAM(Kp, ReactivatedWordsComparedToNewWords, bool, true); //Reactivated words are compared to the last words added in the dictionary (which are not indexed) RTABMAP_PARAM(Kp, TfIdfLikelihoodUsed, bool, false); // Use of the td-idf strategy to compute the likelihood RTABMAP_PARAM(Kp, Parallelized, bool, true); // If the dictionary update and signature creation were parallelized - RTABMAP_PARAM(Kp, SensorStateOnly, bool, false); // If using only sensors state (without actuators) for sensorimotor state nearest neighbor computation + RTABMAP_PARAM(Kp, SensorStateOnly, bool, true); // If using only sensors state (without actuators) for sensorimotor state nearest neighbor computation RTABMAP_PARAM(Kp, TfIdfNormalized, bool, false); // If tf-idf weighting is normalized by the words count ratio between compared signatures RTABMAP_PARAM_STR(Kp, RoiRatios, "0.0 0.0 0.0 0.0"); // Region of interest ratios [left, right, top, bottom] RTABMAP_PARAM_STR(Kp, DictionaryPath, ""); // Path of the pre-computed dictionary diff --git a/guilib/src/Plot.cpp b/guilib/src/Plot.cpp index 8a115a23..7318834a 100644 --- a/guilib/src/Plot.cpp +++ b/guilib/src/Plot.cpp @@ -1859,7 +1859,7 @@ void Plot::contextMenuEvent(QContextMenuEvent * event) (min+max)/2, -2147483647, 2147483647, - 2, + 4, &ok); if(ok) {