ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Different urdf models in rviz

asked 2019-01-15 15:54:35 -0500

Janet gravatar image

I have two different urdf models for two different robots. Can I show them in the same map in rviz?

edit retag flag offensive close merge delete



There are many possible duplicates, try searching e.g. for multiple robots rviz If your question is still not answered you can update it with more details.

aPonza gravatar image aPonza  ( 2019-01-16 02:47:03 -0500 )edit

@aPonza: would be good to add: "try searching with Google".

gvdhoorn gravatar image gvdhoorn  ( 2019-01-16 03:27:07 -0500 )edit

You can show two different robots in the same RViz map. However you have to create a single URDF file and define two robot models separately.

Pulkit123 gravatar image Pulkit123  ( 2019-01-16 03:40:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-16 09:17:38 -0500

David Lu gravatar image

Load the urdfs into separate parameters. (/robot_description_a and /robot_description_b)

In RViz, add two separate RobotModel elements, and have each reference a different parameter.

edit flag offensive delete link more

Question Tools



Asked: 2019-01-15 15:54:35 -0500

Seen: 334 times

Last updated: Jan 16 '19