ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

notice wall

asked 2012-07-12 22:27:38 -0600

pkohout gravatar image

updated 2014-01-28 17:13:00 -0600

ngrennan gravatar image


i am trying to program my robot so that he drives straight ahead until he is close to a wall or so, and then he should turn right or so... just drive ahead in a other way. So my question is, if i get my data from my sensors and make a map out of them, is there any way how i can use that information,or are there some packages at, to notice wehen i am to close to a wall? I am using a Hokuyu laser

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-12 22:37:14 -0600

cagatay gravatar image


you better start reading navigation tutorials

if you need something that simple you can write your own code. just subscribe your laser scan messages, put a threshold value (i.e 50 cm close to an object ) then send velocity commands or position commands to your robot's motor drivers. if you are not familiar with ros, you can start from here

hope this helps you out

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-07-12 22:27:38 -0600

Seen: 349 times

Last updated: Jul 12 '12