-
Notifications
You must be signed in to change notification settings - Fork 41
Software gets stuck if run before the scanner is ready #32
Comments
Does the driver really get stuck?
The driver then runs normally and only error or warning messages are displayed on the console. Have you checked with RVIZ whether Pointcloud messages are visible? otherwise you can use check on which topics data is sent by using
the topics used by this driver are
shows the messages on the console. |
|
@michael1309 Including the name, in case you don't get a notification for closed issues
Restarting the driver then additionally outputs this to the log:
with |
What was the resolution of this issue? I am in a similar situation with MRS1000. I was able to run it a few days ago, so I know what output to expect when it is successfully connected and started. Currently, there is no output after |
how to do fix this |
@Loctangba We recommend to use https://github.com/SICKAG/sick_scan_xd for all lidars supported (see https://github.com/SICKAG/sick_scan_xd#supported-hardware). Please don't hesitate to report issues there in case of problems. |
I have an LMS511 connected to a pc which at boot automatically starts the drivers for the LMS. Now when drivers are started and the LMS is not available the program will crash and I can automatically relaunch it with a small wait time. I decided to make the wait conditional if I can ping the LMS, but the problem is the ping is available before the LMS software has started and can react to the requests of the Host pc drivers requests. The Driver then just gets stuck with following line:
Starting scan data ....
Here the complete log:
Is there a way to a) either prevent the driver from getting stuck there or b) only start the driver when the LMS is ready? I thought waiting for the ping would achieve b) but that seems to not be the case, is there another programmatic way to check when the LMS is ready?
The text was updated successfully, but these errors were encountered: