-
Notifications
You must be signed in to change notification settings - Fork 42
Description
I just purchased an L2 and tried to get it up and running.
When plugging in the LIDAR for the first time the dome started rotating (roughly 5 Hz which seems ok) and after a couple of seconds the mirror started up spinning very fast and rather noisy. While the rotation speed seemed but I don't know about the loudness.
I then managed to connect via the SDK example_lidar_udp (current main branch successfully built on a Linux Mint) and got some output:
[UDPHandler] create udp socket success.
[UDPHandler] bind udp port success. port 6201.
[UDPHandler] set udp recv timeout success. 1 sec.
Unilidar initialization succeed!
set Lidar work mode to: 0
lidar hardware version = 2.2.1.1
lidar firmware version = 2.6.6.1
lidar sdk version = 2.0.9
stop lidar rotation ...
start lidar rotation ...
The LIDAR stops and starts the dome's rotation according to the program's progress and I can ping the unit. The green led seems to be blinking at 1 Hz but it not synchronized to the dome's rotation.
Then … nothing happens. According to the docs the dirty percentage should be measured and printed, but the program just hangs there forever (at least 20 minutes) before I cancelled it.
I then removed the percentage measurement to see whether the next steps would succeed and indeed:
(same as previous)
…
dirty percentage = 0.000000 %
time delay (second) = 0.007439
An IMU msg is parsed!
system stamp = 1767579601.2101900578
seq = 621, stamp = 1767579601.210131168
quaternion (x, y, z, w) = [0.9980, -0.0165, -0.0047, -0.0154]
angular_velocity (x, y, z) = [-0.0158, 0.0125, -0.0029]
linear_acceleration (x, y, z) = [0.0665, -0.1263, 9.7224]
An IMU msg is parsed!
system stamp = 1767579601.2102320194
seq = 622, stamp = 1767579601.210229396
quaternion (x, y, z, w) = [0.9980, -0.0165, -0.0047, -0.0154]
angular_velocity (x, y, z) = [-0.0165, 0.0097, -0.0010]
linear_acceleration (x, y, z) = [0.0777, -0.0891, 9.7374]
…
I'm being flooded with (meaningful?) IMU data but no point cloud. The unit's base is getting very hot - so much that it's painful to hold in my hand. Also the spinning dome seems inbalanced - you cannot hold it still in your hand which will make it hard to get good measures without mounting it onto heavy equipment.
I also noticed the the mirror seems to not be spinning any more. Through a phone camera I can see occasional laser flashes in various locations but it's hard to tell whether anything meaningful is happening.
I tried switching to serial and swapped the power supply, but the result is the same.
My questions is whether my unit might be defective. Is the above behavior expected/fixable? Is there any secret switch to spin up the mirrors?
I do not expect any response from unitree - given their record of not responding to any issues, but maybe someone else can help me with some insights. Thanks a lot in advance.
ps: I'm also not amused that their so-called open-source-SDK is just header files. Makes it unnecessarily hard to use and debug their product.