Ubuntu/MacOS看不到RPLid

2024-06-16 10:41:47 发布

您现在位置:Python中文网/ 问答频道 /正文

我做了所有的步骤 Manual of RPLidar,但Ubuntu和MacOS无法连接到RPLidar并给出如下错误:

Failed to connect to the sensor due to: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'

在两个终端中搜索时,没有一个USB显示。(ls/dev/tty*) 会有帮助的一些链接或帮助。(不是Ubuntu和MacOS的主人)

命令ls/dev/

HAX             ptyw5
afsc_type5          ptyw6
auditpipe           ptyw7
auditsessions           ptyw8
autofs              ptyw9
autofs_control          ptywa
autofs_homedirmounter       ptywb
autofs_notrigger        ptywc
autofs_nowait           ptywd
bpf0                ptywe
bpf1                ptywf
bpf2                random
bpf3                rdisk0
console             rdisk0s1
cu.Bluetooth-Incoming-Port  rdisk0s2
disk0               rdisk0s3
disk0s1             rdisk1
disk0s2             rdisk2
disk0s3             rdisk2s1
disk1               sdt
disk2               stderr
disk2s1             stdin
dtrace              stdout
dtracehelper            systrace
fbt             tty
fd              tty.Bluetooth-Incoming-Port
fsevents            ttyp0
io8log              ttyp1
io8logmt            ttyp2
io8logtemp          ttyp3
lockstat            ttyp4
machtrace           ttyp5
nsmb0               ttyp6
null                ttyp7
oslog               ttyp8 
oslog_stream            ttyp9
pf              ttypa
pfm             ttypb
pmCPU               ttypc
profile             ttypd
ptmx                ttype
ptyp0               ttypf
ptyp1               ttyq0

Tags: todevportubuntu步骤macoslsbluetooth