Trouble with rp_lidar

asked 2019-01-22 17:17:12 -0500

Drkstr gravatar image

updated 2019-01-22 17:20:46 -0500

I am having trouble with my rp_lidar a3.

When I run the launch file the lidar starts spinning, I get the following error message and then the processes stop (the lidar keep spinning)

[rplidarNode-1] process has died [pid 3307, **exit code -7**, cmd /home/rakshak/catkin_ws/devel/lib/rplidar_ros/rplidarNode __name:=rplidarNode __log:=/home/rakshak/.ros/log/18a50dda-1e97-11e9-b16b-181deaf62458/rplidarNode-1.log].
log file: /home/rakshak/.ros/log/18a50dda-1e97-11e9-b16b-181deaf62458/rplidarNode-1*.log

Here are all the messages in the terminal when I run the launch file

... logging to /home/rakshak/.ros/log/18a50dda-1e97-11e9-b16b-181deaf62458/roslaunch-thingc-G5-5587-2978.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://thingc-G5-5587:37125/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.3
 * /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)

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

setting /run_id to 18a50dda-1e97-11e9-b16b-181deaf62458
process[rosout-1]: started with pid [3000]
started core service [/rosout]
process[rplidarNode-2]: started with pid [3004]
[ INFO] [1548196992.736698746]: RPLIDAR running on ROS package rplidar_ros. SDK Version:1.9.0
RPLIDAR S/N: AAAA9AF2C1EA9FC3BEEB9CF325793203
[ INFO] [1548196993.242024318]: Firmware Ver: 1.27
[ INFO] [1548196993.242105938]: Hardware Rev: 6
[ INFO] [1548196993.243195380]: RPLidar health status : 0
[ INFO] [1548196993.862899109]: current scan mode: Sensitivity, max_distance: 25.0 m, Point number: 15.9K ,         angle_compensate: 4
[rplidarNode-2] process has died [pid 3004, exit code -7, cmd     /home/rakshak/catkin_ws/devel/lib/rplidar_ros/rplidarNode __name:=rplidarNode     __log:=/home/rakshak/.ros/log/18a50dda-1e97-11e9-b16b-181deaf62458/rplidarNode-2.log].
log file: /home/rakshak/.ros/log/18a50dda-1e97-11e9-b16b-181deaf62458/rplidarNode-2*.log

Here are relevant lines from the log file:

[roslaunch][INFO] 2019-01-23 09:43:12,719: process[rplidarNode-2]: args[[u'/home/rakshak/catkin_ws/devel/lib/rplidar_ros/rplidarNode', u'__name:=rplidarNode']]
[roslaunch][INFO] 2019-01-23 09:43:12,719: ... created process [rplidarNode-2]
[roslaunch.pmon][INFO] 2019-01-23 09:43:12,719: ProcessMonitor.register[rplidarNode-2]
[roslaunch.pmon][INFO] 2019-01-23 09:43:12,719: ProcessMonitor.register[rplidarNode-2] complete
[roslaunch][INFO] 2019-01-23 09:43:12,719: ... registered process [rplidarNode-2]   
[roslaunch][INFO] 2019-01-23 09:43:12,719: process[rplidarNode-2]: starting os process
[roslaunch][INFO] 2019-01-23 09:43:12,719: process[rplidarNode-2]: start w/ args [[u'/home/rakshak/catkin_ws/devel/lib/rplidar_ros/rplidarNode', u'__name:=rplidarNode', u'__log:=/home/rakshak/.ros/log/18a50dda-1e97-11e9-b16b-181deaf62458/rplidarNode-2.log']]
[roslaunch][INFO] 2019-01-23 09:43:12,719: process[rplidarNode-2]: cwd will be [/home/rakshak/.ros]
[roslaunch][INFO] 2019-01-23 09:43:12,724: process[rplidarNode-2]: started with pid [3004]
[roslaunch][INFO] 2019-01-23 09:43:12,724: ... successfully launched [rplidarNode-2]
[roslaunch][INFO] 2019-01-23 09:43:12,724: ... launch_nodes complete
[roslaunch.pmon][INFO] 2019-01-23 09:43:12,724: registrations completed <ProcessMonitor(ProcessMonitor-1, started daemon 139891714389760)>
[roslaunch.parent][INFO] 2019-01-23 09:43:12,724: ... roslaunch parent running, waiting for process exit
[roslaunch][INFO] 2019-01-23 09:43:12,724: spin
[roslaunch][ERROR] 2019-01-23 09:43:15,643: [rplidarNode-2] process has died [pid 3004, exit code -7, cmd /home/rakshak/catkin_ws/devel/lib/rplidar_ros ...
(more)
edit retag flag offensive close merge delete