visualizing gazebo model in rviz
Is that possible to visualize the kitchen model which original from gazebo model library in Rviz? Any suggestions?
Thanks a lot.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.
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.
Asked: 2015-09-08 20:04:29 -0600
Seen: 2,658 times
Last updated: Sep 09 '15
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.