Fix time stamp bug

This commit is contained in:
Kalman 2018-10-11 10:54:23 +08:00
parent 2a56616195
commit 77e4411a4c

View File

@ -82,7 +82,7 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
} }
return ros::Time( 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 { void onInit() override {