rplidar_ros on raspberry pi [closed]
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
Just a stupid question: did you execute setup.bash after build?
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 assource /../ros_catkin_ws/devel_isolated/setup.bash
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.If you fix the problem copying the executables manually maybe this (still unmarked) pull request in RPLidar git repo can solve your problem.
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.