Setting use_sim_time without launching separate roscore

asked 2018-07-21 17:24:59 -0500

achille gravatar image

updated 2018-08-16 17:23:30 -0500

To get Rviz to play my rosbags correctly after the first loop (using arguments loop, pause, and clock), I have to start a separate roscore and do rosparam set use_sim_time true. Setting this param in a launch file that launches Rviz and the rosbag play command doesn't work: After the first loop the /tf transforms aren't published correctly anymore.

Can I do this in one launch file somehow?

edit retag flag offensive close merge delete