Open skohlbr opened 1 year ago
Ok, just saw that those sleeps have been removed in https://github.com/ouster-lidar/ouster-ros/commit/4d6476e078ca3d2254131e62efeb1e126816cca1, will check with current version.
@skohlbr Yes, please let me know if these changes resolve this issue.
Describe the bug When loading the Ouster nodelets into an existing nodelet manager, I noticed that sometimes the LIDAR does not start streaming. The other thing I noticed is that running
rosservice call /existing_nodelet_manager/list
doesn't return when this happens, indicating that very likely some nodelet is blocking inOnInit()
. It appears the issue can be made to happen more frequently by reducing the sleep times in thelaunch-prefix
entries (i.e.launch-prefix="bash -c 'sleep 6; $0 $@' "
). I'd be interested why those weird sleeps are there in the first place and strongly suggest to make things work without them as this appears very brittle (due to system load and other factors might be impacting when a sleep duration is "enough" or not).To Reproduce Assume there is a existing
existing_nodelet_manager
getting started. Simultaneously start below launch file. When the sleeps are "too short" the LIDAR might not come up correctly. I managed to make it work by doubling the sleep times, but as mentioned above this appears quite brittle.Platform (please complete the following information):