ros-perception / openslam_gmapping

218 stars 206 forks source link

Handle NANs #3

Closed mikeferguson closed 11 years ago

mikeferguson commented 11 years ago

Not sure how this used to work, or why it isn't in this catkinized version, but if there are NANs in a laserscan, I get an error in the scan matcher. Adding a test for isnan() on each ray fixes it.