unitreerobotics / unilidar_sdk

SDK for Unitree L1 LiDAR
BSD 3-Clause "New" or "Revised" License
59 stars 23 forks source link

terminate called after throwing an instance of 'serial::IOException' │ what(): IO Exception (5): Input/output error, file /home/mlb/ut_workspace/202207_unitree_selfmade_lidar/unitree_lidar_sdk/unitree_lidar_sdk/src/serial/impl/unix.cc, line 151. #8

Open ulken94 opened 9 months ago

ulken94 commented 9 months ago

using ubuntu 20.04 / ros noetic base docker

The ros run.launch example and also the sdk example_lidar occurs the same error. And i have no idea about the directory which in error exception message. /home/mlb/ut_workspace/202207_unitree_selfmade_lidar/unitree_lidar_sdk/unitree_lidar_sdk/src/serial/impl/unix.cc, line 151.

image

is anyone have same issue with me?

SunAxiang commented 7 months ago

you can do this to Modifying Serial Device Privileges ,after you connect the device,then,write this "sudo chmod a+rw /dev/ttyUSB0" in terminal,