Ask Your Question
1

hokuyo_node sending 0.0 measurements -> problems with costmap

asked 2012-06-18 22:32:05 -0500

mgruhler gravatar image

Dear all,

we are using a Hokuyo URG-04LX-UG01 laser scanner on our robot. The scanner has a range of max. 5.6m. Now we ran into some problems in the environment we are in, which is kind of a living room/office environment and has distances >5.6m.

We observed, that when the distance that should be measured by the laser scanner is greater 5.6m, the hokuyo_node publishes a range of 0.0. As I understand it, this shouldn't happen, since the minimal distance in the documentation of the scanner is 20mm.

This then in turn leads to problems with the costmap, because due to the 0.0 measurements, the costmap doesn't get cleared, when the laser sees nothing within it's range.

Has anyone of you observed the same problem and/or can provide a not too hacky solution?

Thank you very much.

Kind regards, Matthias

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-19 00:00:22 -0500

weiin gravatar image

updated 2012-06-19 00:09:46 -0500

Refer to my question here. The usual way seems to be to use laser filter. But for my own case, I just altered the scans at the driver level since I'm not in need of the 0.0 readings anyway. Of course, remember to make a copy of the hokuyo_node for your own code, since the one in ros stacks may be overwritten during updates.

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

Stats

Asked: 2012-06-18 22:32:05 -0500

Seen: 160 times

Last updated: Jun 19 '12