rosbag plays topics with different time

asked 2020-05-29 00:11:26 -0500

benthebear93 gravatar image

I am trying to use rosbag option for testing. The problem is that when i try to play two topic which recorded same time, same computure, the topics are played with different time.

so, one topic is coming from realsense T265 (camera/odom/sample)
another topic is coming from CNC controller -> PC -> topic (/con_odom/x) image description

this is when i plot both of topics. you can see there is only one topic which is coming from the controller. and if i remove this topic from plotting

i get

image description

this one, which starting time is way off the 0. i have no idea why this is happening. i played both topic and record it at the same time. using comman "rosbag record -O /camera/odom/sample /con_odom/x"

maybe something wrong with the Realsense t265 launch file? (roslaunch realsense2_camera rs_camera.launch from

i would really appreciate for answering my quest. thx!

edit retag flag offensive close merge delete