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?
Asked by achille on 2018-07-21 17:24:59 UTC
Answers
Yes, use a launch file. Just add the following line:
<param name="use_sim_time" value="true"/>
Cheers
Asked by ticotico on 2021-11-08 12:40:38 UTC
Comments