Home | Tutorials | Wiki | Issues
Ask Your Question
0

Programming Turtlebot in Gazebo

asked 2014-01-05 12:38:54 -0500

SpiderRico gravatar image

Hello all,

I'm interested in programming Turtlebot in gazebo environment. I've finished the basic stuff on its tutorial page however I'm interested in doing more advanced stuff.

For example, I want to get data from either its virtual Kinect or a real one and then program it with C++ to function it as an obstacle avoiding robot.

Can someone point me in the right direction ?

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-01-06 09:54:47 -0500

ZdenekM gravatar image

I guess you are working with Gazebo/ROS. Then you need to create node which will subscribe to Kinect data (sensor_msgs/PointCloud2, either real or simulated one) and then process point cloud somehow (take a look at PCL library). If you want to try something which works out-of-the-box you may try fake laser (creates 2D laser like data from Kinect) + gmapping (SLAM).

edit flag offensive delete link more

Comments

I also want to do the same. Can you please give some examples/tutorials that would be helpful to proceed? Thank you

Ahyan gravatar imageAhyan ( 2015-01-15 01:51:38 -0500 )edit

Thank you. I followed all basic tutorials here. However I just got stuck at pcl/pointcloud stuff. I am facing problem in creating a node subscribing to kinect data. Can somebody point the direction to achieve this?

Ahyan gravatar imageAhyan ( 2015-01-15 21:48:55 -0500 )edit
PCL is a bit out of scope. You will likely have more luck if you ask this question at http://answers.ros.org. ...
nkoenig gravatar imagenkoenig ( 2015-01-16 09:15:45 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-01-05 12:38:54 -0500

Seen: 946 times

Last updated: Jan 06 '14