run roslaunch rpliadr_ros rplidar.launch, ERROR

asked 2019-08-14 20:57:11 -0500

updated 2019-08-15 00:19:03 -0500

jayess gravatar image

When I run the roslaunch rpliadr_ros rplidar.launch command, I get the following error.

[ERROR] [1565833603.998220916]: Error, operation time out. RESULT_OPERATION_TIMEOUT!
[rplidarNode-2] process has died [pid 3515, exit code 255, cmd /home/ubuntu/catkin_ws2019/devel/lib/rplidar_ros/rplidarNode __name:=rplidarNode __log:=/home/ubuntu/.ros/log/854c8c1c-befe-11e9-8d40-00044ba50e4b/rplidarNode-2.log].
log file: /home/ubuntu/.ros/log/854c8c1c-befe-11e9-8d40-00044ba50e4b/rplidarNode-2*.log

this is my setting.

ubuntu@tegra-ubuntu:~/catkin_ws2019$ cat src/rplidar_ros//launch/rplidar.launch
<launch>
  <node name="rplidarNode"          pkg="rplidar_ros"  type="rplidarNode" output="screen">
  <param name="serial_port"         type="string" value="/dev/rplidar"/>
  <param name="serial_baudrate"     type="int"    value="115200"/><!--A1/A2 -->
  <!--param name="serial_baudrate"     type="int"    value="256000"--><!--A3 -->
  <param name="frame_id"            type="string" value="laser"/>
  <param name="inverted"            type="bool"   value="false"/>
  <param name="angle_compensate"    type="bool"   value="true"/>
  </node>
</launch>

ubuntu@tegra-ubuntu:~$ ls -l /dev|grep ttyUSB
lrwxrwxrwx  1 root root           7 Aug 15 01:26 chasis -> ttyUSB0
lrwxrwxrwx  1 root root           7 Aug 15 01:26 gps1 -> ttyUSB1
lrwxrwxrwx  1 root root           7 Aug 15 01:26 rplidar -> ttyUSB1
crw-rw-rw-  1 root dialout 188,   0 Aug 15 01:26 ttyUSB0
crw-rw-rw-  1 root dialout 188,   1 Aug 15 01:26 ttyUSB1
edit retag flag offensive close merge delete