You are attempting to compile the package with Catkin, while it is a rosbuild one (legacy ROS build system). Please see the differences here.
It is possible to make a rosbuild overlay workspace on top of your catkin workspace. Please read Using robuild with catkin. Particularly pay attention to sections 3.3 and onwards.
P.S. Unfortunately I had no time to catkinize the package back in 2013 and now I have no access to the hardware to make sure everything works.
(it took me a while to understand I didn't press the Post button)
EDIT:
Regarding the autoconf. If you are on Ubuntu install it with:
sudo apt-get install autoconf
EDIT 2:
I tried to reproduce the error you have mentioned in the comments, but almost everything worked fine. The only problem I can spot is that you are cloning the laser_drivers
stack into sicktoolbox2
directory, that seems to be wrong because the actual stack name is laser_drivers
.
Make sure the workspaces were sourced correctly. To do that unset all ROS environment variables (the ones that have ROS_
prefix) or simply comment the lines in your .bashrc
file that source ROS workspace setups, e.g. ~/catkin/devel/setup.bash
(if you have any) and restart the terminal. Also remove the rosbuild workspace folder.
Then source catkin workspace:
$ source ~/catkin_ws/devel/setup.bash
Create rosbuild overlay:
$ mkdir ~/rosbuild_ws
$ cd ~/rosbuild_ws
$ rosws init . ~/catkin_ws/devel
Add laser_drivers
stack with sicktoolbox2
to rosbuild overlay:
# Pay attention to the parameter after 'set' argument
$ rosws set laser_drivers --set https://bitbucket.org/koreatech-ugv/laser_drivers.git
$ rosws update laser_drivers
Source rosbuild overlay:
$ source ~/rosbuild_ws/setup.bash
Additionally, to make bash tab-completion work for downloaded packages and stacks:
$ rosstack profile
$ rospack profile
Finally, build the stack:
$ rosmake laser_drivers
In my case the last step failed to build hokyo_node
package, but I think that can be ignored if you don't need it. The sicktoolbox2
and sicktoolbox_wrapper2
compiled without errors.
If you still encounter the problem with download_checkmd5.py
after following the above steps, it might be necessary to reinstall ROS.
I realised I need to use rosbuild as in http://wiki.ros.org/catkin/Tutorials/...
I've followed the tutorial and built the code but still get similar error: [rosrun] Couldn't find executable named sicklms5xx below /home/ros/rosbuild_ws/sicktoolbox2/sicktoolbox_wrapper2
I do get the following error during the build process: /bin/sh: 1: autoreconf: not found -------------------------------------------------------------------------------} [ rosmake ] Output from build of package sicktoolbox2 written to: [ rosmake ] /home/ros/.ros/rosmake/rosmake_output-20160504-
@sam Wayne How did you solve this error ? rosrun sicktoolbox_wrapper2 sicklms_5xx Attempting to connect to Sick LMS 5xx @ 192.168.0.1:2111 A Timeout Occurred - SickLMS5xx::_setupConnection: select() timeout! [ERROR] Initialize failed I am also facing the same issue!