geometry2 icon indicating copy to clipboard operation
geometry2 copied to clipboard

More than one static_transform_publisher doesn't work via rosbag

Open leftys opened this issue 8 years ago • 4 comments

I tried to run this on Indigo:

rosbag record /tf /tf_static
rosrun tf2_ros static_transform_publisher 0 0 0 0 0 0 base_link test
rosrun tf2_ros static_transform_publisher 0 0 0 0 0 0 base_link test2

and then rosbag play ... wait for a while rostopic echo /tf_static Only the second tf (base_link -> test2) shows up.

leftys avatar Jul 11 '16 07:07 leftys

Related: https://github.com/ros/ros_comm/issues/146

tfoote avatar Jul 11 '16 07:07 tfoote

@tfoote - is there any plan to fix this?

mkhansenbot avatar Nov 17 '16 17:11 mkhansenbot

What about running https://github.com/tradr-project/static_transform_mux during the recording? That would "ensure" that the last published /tf_static message would contain all the transforms needed for replay. Moreover, you could even add more static transforms during the replay, if you launch the mux also during replay.

peci1 avatar Aug 30 '18 15:08 peci1

I would love this issue to be fixed or @peci1 package to be merged and released.

doisyg avatar May 14 '19 11:05 doisyg