Slamtec / rplidar_ros

BSD 2-Clause "Simplified" License
485 stars 527 forks source link

Add initial_reset option to reset rplidar on node start #116

Closed deyouslamtec closed 1 year ago

deyouslamtec commented 1 year ago

Add initial_reset option to reset rplidar on node start,and when node starts to reset rplidar, if rplidar info is not obtained within 10 seconds, rplidar reset fails

deyouslamtec commented 1 year ago

@WubinXia 已添加以下两个功能:1. 复位时通过get device info判断复位是否成功。2. 10秒内仍无法获取device info,则认为复位失败

deyouslamtec commented 1 year ago

需要把超时时间调整到15秒数;每0.5秒获取一次device info