In case you're getting this kind of error from the Lidar (OS0-128 in my case), I thought I should share a fix:
It could be that you're computer has IPv6 disabled by default. In my case the Intel NuC on the Clearpath Jackal has disabled IPv6 in the GRUB bootloaderen: /etc/default/grub. To fix the issue you can either enable IPv6 or your can make changes to the drivers client.cpp file. I did the latter:
change hints.ai_family to AF_INET (line 77 ish)
client.cpp
In case you're getting this kind of error from the Lidar (OS0-128 in my case), I thought I should share a fix:
It could be that you're computer has IPv6 disabled by default. In my case the Intel NuC on the Clearpath Jackal has disabled IPv6 in the GRUB bootloaderen:
/etc/default/grub
. To fix the issue you can either enable IPv6 or your can make changes to the driversclient.cpp
file. I did the latter:change
hints.ai_family
toAF_INET
(line 77 ish) client.cppcomment out the following (ish line 103 - 112) client.cpp
related issue: https://github.com/ouster-lidar/ouster_example/issues/185