From 77e4411a4c2b670b7820e770ecdcf4e893a695ca Mon Sep 17 00:00:00 2001 From: Kalman Date: Thu, 11 Oct 2018 10:54:23 +0800 Subject: [PATCH] Fix time stamp bug --- wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc index e0fddc6..9bb7b8c 100644 --- a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc +++ b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc @@ -82,7 +82,7 @@ class ROSWrapperNodelet : public nodelet::Nodelet { } return ros::Time( - soft_time_begin + (_hard_time - hard_time_begin) * 0.00001f); + soft_time_begin + (_hard_time - hard_time_begin) * 0.000001f); } void onInit() override {