Ask Your Question
0

Different urdf models in rviz

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

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

Comments

1

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

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

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

gvdhoorn gravatar image gvdhoorn  ( 2019-01-16 03:27:07 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 176 times

Last updated: Jan 16 '19