uos / sick_tim

A ROS driver for the SICK TiM series of laser scanners.
http://wiki.ros.org/sick_tim
47 stars 90 forks source link

Automatically reboot scanner in error state #44

Closed dbking77 closed 7 years ago

dbking77 commented 7 years ago

Read scanner state during initialization. Have configuration that will cause driver to request software reboot of scanner if it in error state.

On rare occasions we've seen laser scanner get into an error state where it will respond to most requests but will not start streaming data. Requesting reboot clears error condition.

mintar commented 7 years ago

Thanks, this looks useful! I'll test and merge next week when I have access to our scanners.

dbking77 commented 7 years ago

@mintar Thank you

mintar commented 7 years ago

Merged in 4041a96c . The only change I made is to change the default of the auto_reboot parameter to True. I don't think there is a case where this would break existing installations.

Thanks again, this is great to have.

stwirth commented 7 years ago

That is great! @mintar can we get a new release for indigo and kinetic with this fix? Thanks!

mintar commented 7 years ago

@stwirth Done! :)

stwirth commented 7 years ago

Thanks!