Setting use_sim_time without launching separate roscore
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?