From 8d2c9865993f4432de3c7665c04f14981d5127e3 Mon Sep 17 00:00:00 2001 From: Louis-Guillaume DUBOIS Date: Sat, 25 Apr 2015 13:46:06 +0200 Subject: [PATCH] correct altitude's sign --- hand_control/src/normal_estimator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hand_control/src/normal_estimator.cpp b/hand_control/src/normal_estimator.cpp index 045c8ff..9dc69ae 100644 --- a/hand_control/src/normal_estimator.cpp +++ b/hand_control/src/normal_estimator.cpp @@ -41,7 +41,7 @@ class Callback { ros_msg->normal.x = pcl_coord(0); // a ros_msg->normal.y = pcl_coord(1); // b ros_msg->normal.z = pcl_coord(2); // c - ros_msg->altitude = pcl_coord(3); // d + ros_msg->altitude = -pcl_coord(3); // -d ros_msg->curvature = curvature; // \lambda return ros_msg; }