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

Where can turtlebotsim camera/depth data be found?

asked 2012-02-21 05:15:31 -0600

jfetsch gravatar image

updated 2016-10-24 09:01:56 -0600

ngrennan gravatar image

Using gazebo to simulate a turtlebot, rostopic list shows





among others. I want to get a representation of the kinect's depth data using

rosrun image_view image_view image:=/camera/depth/points

or something to that extent. However, when I run that command, I just get an empty window that gives the same results as replacing /camera/depth/points with a string that isn't listed in rostopic. When I connect my laptop to a kinect sensor, the directory that the point data is stored is something like /camera/kinect/depth, but the rosrun command brings up a small window that accurately shows depth of whatever is in front of the kinect sensor. Is it possible to obtain similar data from the turtlebotsim in gazebo?

Thanks for your help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-03 18:48:27 -0600

Yannis gravatar image

If you want to display the /camera/depth/points use Rviz. Subscribe to the PointCloud2 topic /camera/depth/points and it will display it. However, for some people (like me), the data displayed is a flat PointCloud. I hope for you it works. Have you solved your problem ?

edit flag offensive delete link more

Question Tools


Asked: 2012-02-21 05:15:31 -0600

Seen: 542 times

Last updated: Jul 03 '12