目前手上有一台安装了ROS环境的16.04 Ubuntu系统的电脑,从开源代码库里面下载了xqserial_server的代码并配置好了相关环境。将底盘连接在usb口上之后也能找到/dev/ttyUSB001接口。
但是执行 roslaunch xqserial_server xqserial.launch 之后程序就直接报错退出了,错误log如下:
welcome to xiaoqiang serial server,please feel free at home!
port:/dev/ttyUSB001 baud:115200
process[baselinkSonar_broadcaster1-4]: started with pid [18205]
process[baselinkSonar_broadcaster2-5]: started with pid [18213]
process[imulink_broadcaster-6]: started with pid [18228]
Debug mode Enabled
Error: serial port closed unexpectedly
Exception: Error while closing the device: Success
[motor_driver-2] process has finished cleanly
请问是什么原因导致串口异常关闭的呢?是不是因为系统环境配置不完整?
如果想在原版的ubuntu系统下进行开发的话有没有相关的配置教程呢?