From cae0e41b7c575a6b273fbcda76eeab676aec831f Mon Sep 17 00:00:00 2001 From: Louis-Guillaume DUBOIS Date: Sat, 2 May 2015 18:04:56 +0200 Subject: [PATCH] corrects plans numbering --- src/normal_estimator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/normal_estimator.cpp b/src/normal_estimator.cpp index 5617e04..ac433c5 100644 --- a/src/normal_estimator.cpp +++ b/src/normal_estimator.cpp @@ -32,7 +32,8 @@ class Callback { publisher.publish(to_Plan(x, y, z, h, c, msg->header.stamp)); } - Callback(ros::Publisher& pub) : publisher(pub), estimator() {} + Callback(ros::Publisher& pub) : + publisher(pub), estimator(), number(0) {} private: ros::Publisher publisher;