i have rplidar a3 launch error(error code -6)

asked 2018-09-09 20:40:56 -0500

okskko07 gravatar image

updated 2018-09-10 01:07:58 -0500

ahendrix gravatar image

I have an error for rplidar a3.

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.21
 * /rplidarNode/angle_compensate: True
 * /rplidarNode/frame_id: laser
 * /rplidarNode/inverted: False
 * /rplidarNode/scan_mode: Sensitivity
 * /rplidarNode/serial_baudrate: 256000
 * /rplidarNode/serial_port: /dev/ttyUSB0

NODES
  /
    rplidarNode (rplidar_ros/rplidarNode)
    rviz (rviz/rviz)

auto-starting new master
process[master]: started with pid [4082]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to e480e554-b499-11e8-80d3-e0d55eaaa97a
process[rosout-1]: started with pid [4095]
started core service [/rosout]
process[rplidarNode-2]: started with pid [4103]
process[rviz-3]: started with pid [4113]
[ INFO] [1536543369.462962123]: RPLIDAR running on ROS package rplidar_ros. SDK Version:1.7.0
RPLIDAR S/N: 6BF39AF2C1EA9FC0A2EB92F1F8203C02
[ INFO] [1536543369.966742531]: Firmware Ver: 1.24
[ INFO] [1536543369.966776559]: Hardware Rev: 6
[ INFO] [1536543369.967689753]: RPLidar health status : 0
[ INFO] [1536543370.582106429]: current scan mode: Sensitivity, max_distance: 25.0 m, Point number: 15.9K , angle_compensate: 4
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[rplidarNode-2] process has died [pid 4103, exit code -6, cmd /opt/ros/indigo/lib/rplidar_ros/rplidarNode __name:=rplidarNode __log:=/home/ksj/.ros/log/e480e554-b499-11e8-80d3-e0d55eaaa97a/rplidarNode-2.log].
log file: /home/ksj/.ros/log/e480e554-b499-11e8-80d3-e0d55eaaa97a/rplidarNode-2*.log

It is the same error as above.

Please provide a solution to this problem.

Thank you.

edit retag flag offensive close merge delete