rplidar_ros on raspberry pi [closed]

asked 2015-04-09 18:46:44 -0500

scar gravatar image

updated 2015-04-16 00:31:04 -0500

Hi all, I am trying to build rplidar_ros package on raspberry pi running raspbian OS using catkin_make_isolated with indigo distro and even though catkin_make_isolated seems to work without failures, it does not build the executables. Or maybe it builds it somewhere else where ROS cannot find them. Here the output of catkin_make_isolated:

==> Processing catkin package: 'rplidar_ros'
==> Building with env: '/opt/ros/indigo/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/pi/ros_catkin_ws/build_isolated/rplidar_ros'
==> make -j4 -l4 in '/home/pi/ros_catkin_ws/build_isolated/rplidar_ros'
[ 16%] Built target rplidarNodeClient
[100%] Built target rplidarNode
==> make install in '/home/pi/ros_catkin_ws/build_isolated/rplidar_ros'
[ 83%] Built target rplidarNode
[100%] Built target rplidarNodeClient
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /opt/ros/indigo/_setup_util.py
-- Up-to-date: /opt/ros/indigo/env.sh
-- Up-to-date: /opt/ros/indigo/setup.bash
-- Up-to-date: /opt/ros/indigo/setup.sh
-- Up-to-date: /opt/ros/indigo/setup.zsh
-- Up-to-date: /opt/ros/indigo/.rosinstall
-- Up-to-date: /opt/ros/indigo/etc/catkin/profile.d/05.catkin_make.bash
-- Up-to-date: /opt/ros/indigo/etc/catkin/profile.d/05.catkin_make_isolated.bash
-- Up-to-date: /opt/ros/indigo/lib/pkgconfig/rplidar_ros.pc
-- Up-to-date: /opt/ros/indigo/share/rplidar_ros/cmake/rplidar_rosConfig.cmake
-- Up-to-date: /opt/ros/indigo/share/rplidar_ros/cmake/rplidar_rosConfig-version.cmake
-- Up-to-date: /opt/ros/indigo/share/rplidar_ros/package.xml
<== Finished processing package [68 of 81]: 'rplidar_ros'

Can anybody help with this issue?

Thank you in advance, Marcello

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by scar
close date 2016-08-31 23:53:53.590792

Comments

Just a stupid question: did you execute setup.bash after build?

afranceson gravatar imageafranceson ( 2015-04-16 06:34:00 -0500 )edit

The question is not stupid at all! I might have forgotten to do so last night. But this is not the first time I install ROS on RPi and having a hard time and I usually source /opt/ros/indigo/setup.bash as well as source /../ros_catkin_ws/devel_isolated/setup.bash

scar gravatar imagescar ( 2015-04-16 12:34:35 -0500 )edit

anyway I solved the problem by copying the executables from /../ros_catkin_ws/devel_isolated/rplidar_ros/lib/rplidar_ros where they where originally created, to /opt/ros/indigo/share/rplidar_ros no wonder why catkin could not find them.

scar gravatar imagescar ( 2015-04-16 12:41:59 -0500 )edit

If you fix the problem copying the executables manually maybe this (still unmarked) pull request in RPLidar git repo can solve your problem.

afranceson gravatar imageafranceson ( 2015-04-16 12:54:09 -0500 )edit

Thank you afranceson. It's going to be very helpfull for next implementations. I guess I am too busy chasing deadlines for this project that I skipped important details. Thanks again for point me in the write direction.

scar gravatar imagescar ( 2015-04-16 13:46:20 -0500 )edit