clearpathrobotics / LMS1xx

Driver for SICK LMS1xx. Based on https://github.com/RCPRG-ros-pkg/RCPRG_laser_drivers
56 stars 101 forks source link

Unable to get laser output range. Retrying #32

Open athtest800 opened 8 years ago

athtest800 commented 8 years ago

Hello! I get "Unable to get laser output range. Retrying" when i change resolution to 0.25 and frequency 25 through SOPAS. Can i solve it? Also, it does not read the angle range that i stored previously in SOPAS. So i use laser filters. Thank you

Entropy512 commented 7 years ago

That's the result of a check at https://github.com/clearpathrobotics/LMS1xx/blob/master/src/LMS1xx_node.cpp#L71 - I'm not sure why Clearpath hardcoded this to only allow 50 Hz laser configurations. Changing this will allow you to use a 25 Hz laser - but I'm not sure if there's anything else hardcoded to assume a 50 Hz laser configuration yet.

I've had no issues with it reading the angle range stored in SOPAS - HOWEVER the range is only read on startup of the node. If you change anything in SOPAS while the node is running, you need to stop the ROS node and restart it.

aaravrav142 commented 6 years ago

Any update on this issue. I am also struggling with this. With 50Hz 0.5 resolution the lidar works fine. But I would like to have 25Hz, 0.25 resolution to get more data points for finer maps. Can you report whether changing the values in SOPAS and changing the parameter frequency 5000 to 2500 would make it work or not? Thanks