|
本帖最后由 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
麻烦大家帮我解答一下,谢谢!
|
|