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

How to find a laser straight line?

asked 2013-06-30 17:19:49 -0500

Astronaut gravatar image

updated 2014-01-28 17:17:06 -0500

ngrennan gravatar image

Hello

I would like to user laser for finding some obstacles. So I would like to know how to work with straight lines on laser scan massages. So if the points are the longer straight lines of the sensor massage means the obstacle is a wall. If not than its a something else.. Cause I need to distinguish between a wall and some other tall object. But I dont know how to find the straight line the laser scan sensor massage. Any help??

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-07-01 05:36:26 -0500

Take a look at the Hough Transform for finding lines.

edit flag offensive delete link more

Comments

But I dont wont to use depth images and kinect. Only laser. So how does Hough Transform work to identify straight lines in laser scans???

Astronaut gravatar image Astronaut  ( 2013-07-01 14:21:29 -0500 )edit

For the Hough Transform, the point data from a laser is just fine. It will probably be easiest to do things in the laser's frame so you can treat all the points as 2d.

Dan Lazewatsky gravatar image Dan Lazewatsky  ( 2013-07-02 05:37:41 -0500 )edit

ok. Thanks. Any help or example code of Hough Transform and ROS???

Astronaut gravatar image Astronaut  ( 2013-07-02 12:31:25 -0500 )edit

Question Tools

Stats

Asked: 2013-06-30 17:19:49 -0500

Seen: 1,487 times

Last updated: Jul 01 '13