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

How to go about getting raw data from turtlebot kinect sensor?

asked 2014-01-21 15:34:53 -0600

mysteriousmonkey29 gravatar image

Hello, I'm trying to create a program that will have a turtlebot map a given area. However, I am very new to this. I understand that the turtlebots publish some kind of point cloud as sensed by the kinect, but I don't understand exactly how to subscribe to this data, and what type it is so that I can work with it to create a map.

Anyone have any suggestions or know any good tutorials that could help me out?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-01-22 04:20:43 -0600

BennyRe gravatar image

Subscribing to a topic is explained in the Publisher/Subscriber Tutorial.

To subscribe to the Kinect you have to adapt the type and name of the topic.

One way to get information about the data the Kinect node is publishing is to type

$ rostopic list

in your terminal. This outputs a list of topics that are currently active on your machine. With

rostopic info <topic name>

You get more information about this topic. There you can also find the message type of this topic. With

rosmsg show <message name>

You get detailed information about the data structure of this message type.

I hope this helps you a little bit.

edit flag offensive delete link more

Comments

Ok, thank you!

mysteriousmonkey29 gravatar image mysteriousmonkey29  ( 2014-01-30 15:41:45 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-01-21 15:34:53 -0600

Seen: 247 times

Last updated: Jan 22 '14