求助:关于树莓派3与rplidar的连接问题-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 6310|回复: 0

求助:关于树莓派3与rplidar的连接问题

[复制链接]
发表于 2017-3-26 00:30 | 显示全部楼层 |阅读模式
本帖最后由 Niels_X 于 2017-3-26 00:36 编辑

我用树莓派3与rplidar连接,想通过rviz来观察rplidar扫描的情况。做法是:先通过ssh远程登录树莓派,然后设置ROS_MASTER_URI变量后运行roscore,在桌面计算机也设置好ROS_MASTER_URI变量,然后运行roslaunch rplidar_ros view_rplidar.launch。结果却出现这样的错误:

core service [/rosout] found
process[rplidarNode-1]: started with pid [4129]
process[rviz-2]: started with pid [4130]
RPLIDAR running on ROS package rplidar_ros
SDK Version: 1.5.7
Error, cannot bind to the specified serial port /dev/ttyUSB0.
[rplidarNode-1] process has died [pid 4129, exit code 255, cmd /home/niels/catkin_ws/devel/lib/rplidar_ros/rplidarNode __name:=rplidarNode __log:=/home/niels/.ros/log/0814c7a2-0f09-11e7-b088-b827eb70069b/rplidarNode-1.log].
log file: /home/niels/.ros/log/0814c7a2-0f09-11e7-b088-b827eb70069b/rplidarNode-1*.log
[rviz-2] process has finished cleanly
log file: /home/niels/.ros/log/0814c7a2-0f09-11e7-b088-b827eb70069b/rviz-2*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
麻烦大家帮我解答一下,谢谢!

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-27 22:27 , Processed in 0.234103 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表