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

How to detect obstacle position using point cloud data?

asked 2019-04-08 07:59:23 -0500

GLV gravatar image

Hi Everyone,

I am working on turtlebot and kinect sensor. I want to detect obstacle presence and its position using kinect sensor. How could I do this and I am not using maps. Just want to know whether obstacle is there or not. And if I am going to use point cloud libraries, how can i get obstacle position(X,Y) .

(I am using Ros kinetic version,Ubuntu 16.04 and python as coding language.)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-04-08 13:22:31 -0500

tfoote gravatar image

This is pretty broad and generic. I'd suggest that you look through some of the PCL tutorials: http://wiki.ros.org/pcl/Tutorials

You can also just read the position data out of the point cloud data structure manually.

edit flag offensive delete link more

Comments

Thanks for your answer #Mr.tfoote. This tutorials in C++ can i get in python anywhere? Could you pls give me some suggestions to how to start?

GLV gravatar image GLV  ( 2019-04-09 01:14:00 -0500 )edit
1

There's a few python methods to help with this here: https://github.com/ros/common_msgs/bl...

tfoote gravatar image tfoote  ( 2019-04-12 16:43:24 -0500 )edit

Thank you so much #Mr.tfoote

GLV gravatar image GLV  ( 2019-04-15 00:50:43 -0500 )edit

Please accept the answer using the check mark at the left so others know that this is answered and it can be filter appropriately.

tfoote gravatar image tfoote  ( 2019-04-15 00:58:03 -0500 )edit

In order to get a position I have to launch this code https://github.com/ros/common_msgs/bl.. or I need to clone all package???

GLV gravatar image GLV  ( 2019-04-16 00:09:08 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-04-08 07:59:23 -0500

Seen: 2,034 times

Last updated: Apr 08 '19