Ubuntu/MacOS 看不到 RPLidar

Ubuntu/MacOS cannot see RPLidar

我完成了所有步骤 Manual of RPLidar 的 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*) 会有所帮助link或帮助。 (不掌握 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

解决了。我在 Mac 上使用并行,当切换 USB 时,不需要 "check to Ubuntu" 作为 Ubuntu 机器

上的调试器