Open bjsowa opened 3 years ago
the same project ( https://github.com/YZH-bot/multi_turtlebot3_navigation) and launch, has different tf_prefix:
melodic
noetic
[ INFO] [1699271278.211178033]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1699271278.211951893]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1699271278.682913794, 0.006000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1699271278.690392282, 0.013000000]: Physics dynamic reconfigure ready.
[ INFO] [1699271279.160430519, 0.373000000]: Laser Plugin: Using the 'robotNamespace' param: '/tb3_0/'
[ INFO] [1699271279.160459996, 0.373000000]: Starting Laser Plugin (ns = /tb3_0/)
[ INFO] [1699271279.160965646, 0.373000000]: Laser Plugin (ns = /tb3_0/)
I maintain packages for Melodic and Noetic distribution which use the fact that tf frames for Camera plugins are prefixed with robot's namespace. After merging #1143 and #1173 the frames on Noetic are no longer prefixed with the namespace, so I have to add the prefix to
frameName
parameters. But, doing so, makes the frames double prefixed on Melodic.I would really prefer not to maintain separate versions of the packages for different distributions, so I would really appreciate if there was an option to use the new behavior on Melodic or some other way to make the code compatible.