Closed li1135759862 closed 1 year ago
terminate called after throwing an instance of 'serial::IOException' what(): IO Exception (5): Input/output error, file /home/pi/mlb_ws/unitree_lidar_sdk/src/serial/impl/unix.cc, line 151.
/home/pi/mlb_ws这个不是我本地的目录结构,源码中也没unitree_lidar_sdk/src/serial/impl/unix.cc这个文件
可以看一下你的lidar串口设备名称是不是默认的/dev/ttyUSB0,如果不是在配置文件里修改成实际的名称。
/dev/ttyUSB0
串口是默认的,/dev/ttyUSB0
有没技术支持群?
可以加入技术支持QQ群:861113138
terminate called after throwing an instance of 'serial::IOException' what(): IO Exception (5): Input/output error, file /home/pi/mlb_ws/unitree_lidar_sdk/src/serial/impl/unix.cc, line 151.