Ask Your Question
0

visualizing gazebo model in rviz

asked 2015-09-08 20:04:29 -0600

crazymumu gravatar image

image description

Is that possible to visualize the kitchen model which original from gazebo model library in Rviz? Any suggestions?

Thanks a lot.

edit retag flag offensive close merge delete

Comments

One question about, how could you import the color into gazebo? I have a .obj file model with textures defined in .mtl file, then I convert it into .dae collada file, but gazebo doesn't load the color.

Dinl gravatar imageDinl ( 2015-09-12 16:37:54 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2015-09-09 02:01:48 -0600

Yes, it is. The kitchen model is a single .dae (COLLADA) file that is available here in the gazebo_models repo.

The easiest way to use it in rviz is probably to copy the model into a ROS package and then publish it as a rviz Marker by using the Mesh_Resource approach.

edit flag offensive delete link more
2

answered 2015-09-09 05:29:55 -0600

gvdhoorn gravatar image

You might also be interested in the gazebo2rviz package (sources here). From the wiki page:

This package contains nodes to automatically import all entities simulated in a ROS-enabled Gazebo instance into rviz through the TF and Marker plugin.

A related blog post on the author's site can be found here.

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

2 followers

Stats

Asked: 2015-09-08 20:04:29 -0600

Seen: 944 times

Last updated: Sep 09 '15