ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
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 image Dinl  ( 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

Question Tools

3 followers

Stats

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

Seen: 2,668 times

Last updated: Sep 09 '15