Is it possible connect different worlds in gazebo and RVIZ?
Hi everyone, I spawned 2 robots in Gazebo and rviz (using moveit packages which I made). My robots have equaly named links in xacro file and this is making problem for transforms between links. To distinguish which link belongs to which robot I added prefix tfprefix in robot state publisher node for each robot and just passed robot namespace value. In the xacro I added new link which is called "World" and tfprefix added prefix before every joint and link found xacro file. This way I do not have to manually adapt controllers yaml files and all other files that contain names of links and joints. Problem with this is that my two robots do not have any connection over transform because they are both connected to their own worlds.
Other way to solve this problem wold be to add a parameter in xacro file which will be also prefix to all links except world link and in this case I have to manually adapt yaml files and then I will have only 1 mutual world in RVIZ and transform between joints will be possible.
Is there any other solution which includes having common world, using tf_prefix in robot state publisher node without adapting yaml files?
Asked by lbajlo on 2020-01-09 08:50:33 UTC
Comments