Raspberry Pi 2B and Indigo
Are there any working instructions for installing Indigo on the new Raspberry Pi 2B (Armv7) and the latest Raspbian image? I tried following the instructions for Raspbian in the wiki but there were problems.
First there was a conflict with python-setuptools. If the package was taken from ros repo it did not work. It tried to use python files in /usr/local... but these files were not there.
The the instructions say to install "wget http://archive.raspbian.org/raspbian/pool/main/l/lz4/liblz4-1_0.0~r122-2_armhf.deb". But will this deb work for the new board?
Asked by TommyP on 2015-02-07 19:20:13 UTC
Answers
I got ros base install to build following the instructions here
http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi
the python tools didn't work first time, sorry cant remember what I did that fixed it - I think installing python-dev and just doing it over again fixed it, but trying to build for turtlebot kobuki ftdi failed with
==> make -j4 -l4 in '/home/pi/ros_catkin_ws/build_isolated/kobuki_ftdi' Scanning dependencies of target ftdi_kobuki Scanning dependencies of target flasher Scanning dependencies of target find_devices Scanning dependencies of target ftdi_read_eeprom [ 20%] [ 20%] [ 30%] [ 40%] Building CXX object src/CMakeFiles/flasher.dir/flasher.cpp.o Building CXX object src/CMakeFiles/find_devices.dir/find_devices.cpp.o Building CXX object src/CMakeFiles/ftdi_kobuki.dir/ftdi_kobuki.cpp.o Building CXX object src/CMakeFiles/ftdi_read_eeprom.dir/ftdi_read_eeprom.cpp.o /home/pi/ros_catkin_ws/src/kobuki_core/kobuki_ftdi/src/ftdi_kobuki.cpp:60:18: fatal error: ftdi.h: No such file or directory compilation terminated. /home/pi/ros_catkin_ws/src/kobuki_core/kobuki_ftdi/src/ftdi_read_eeprom.cpp:45:18: fatal error: ftdi.h: No such file or directory compilation terminated. src/CMakeFiles/ftdi_kobuki.dir/build.make:54: recipe for target 'src/CMakeFiles/ftdi_kobuki.dir/ftdi_kobuki.cpp.o' failed make[2]: *** [src/CMakeFiles/ftdi_kobuki.dir/ftdi_kobuki.cpp.o] Error 1 CMakeFiles/Makefile2:396: recipe for target 'src/CMakeFiles/ftdi_kobuki.dir/all' failed
Asked by nickw on 2015-02-08 03:48:50 UTC
Comments
That was the instructions I tried. I cannot get liblz4-dev installed so I am stuck there.
The link was in my email notification: http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi
Asked by TommyP on 2015-02-08 04:07:25 UTC
What line fails for you, and what is the error message
Asked by nickw on 2015-02-08 04:39:06 UTC
installing libftdi-dev fixed my error
Asked by nickw on 2015-02-08 05:22:47 UTC
I seemed to have gotten the wrong libz4 deb. Getting the right one solved the deb install problem. Now it compiles better... I wonder how I got the wrong version of the file.
Asked by TommyP on 2015-02-08 06:48:08 UTC
And the compilation for ros-comm succeeded.
Asked by TommyP on 2015-02-08 07:00:43 UTC
I moved onto the linaro image here http://www.raspberrypi.org/forums/viewtopic.php?f=56&t=98997 and got base comm and turtlebot + turtlebot_navigation to build. Have been able to keyop turtlebot and fired up gmapping. depth camera appears to work, not RGB camera at the moment.
Asked by nickw on 2015-02-14 12:57:22 UTC
@TommyP, I'm getting the same error RE: libl4z-dev. Can you share a bit more about which version you had and which version you switched to? Did you do anything differently, or just try again?
Asked by devtron on 2015-02-19 05:20:22 UTC
I think I just tried again with installing it and suddenly it worked. I might have tried to install lib4z-dev from package also.
Asked by TommyP on 2015-02-19 10:38:37 UTC
If you can start with an Ubuntu Trusty image you should be able to follow the standard Ubuntu Armhf instructions.
Asked by tfoote on 2015-03-22 03:41:52 UTC
Comments