Installing Ros on Raspberry Pi

After playing a bit with Ros I discovered a really easy way to install Ros Hydro in Raspbian thanks to the guys of Ros Sig Embedded. They released a repo that you only have to add and install from it. Really easy. Let’s see how.

rosHydro

1) Installation

First of all you have to add the repos to your repo list:

deb http://64.91.227.57/repos/rospbian wheezy main

Add the repo key:

wget http://64.91.227.57/repos/rospbian.key -O - | sudo apt-key add -

After that just install from the repository:

sudo apt-get install ros-hydro-ros-comm
sudo apt-get install python-rosinstall

2) Creating a package

In order to create a new Ros Package use the next tutorial.

When I tried to compile the package I saw that the libraries where not available, a quick way to fixe this problem was to create a simbolik link where Ros looks for the libraries. I need to go further for this problem because there must be a place where it could be possible to:

sudo ln -s /usr/lib/arm-linux-gnueabihf/libboost_signals.so /usr/lib/libboost_signals-mt.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libboost_filesystem.so /usr/lib/libboost_filesystem-mt.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/liblog4cxx.so  /usr/lib/liblog4cxx.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libboost_regex.so /usr/lib/libboost_regex-mt.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libboost_date_time.so /usr/lib/libboost_date_time-mt.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libboost_system.so /usr/lib/libboost_system-mt.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libboost_thread.so /usr/lib/libboost_thread-mt.so

3)Where to go from here

I need to complete this small tutorial in order to create a Catkin Workspace and a basic package.

4)References

  1. Ros sig Embedded
  2. Error when linking libraries
  3. Creating Ros Package

Jorge Corredera

Jorge Corredera
I am a Spanish telecommunication engineer.I like social robotics, computers and almost everything with wires. Right now, I am working as a Software Engineer. Furthermore I am always happy to be involved in challenging projects.

Pcb Working Process

Published on April 30, 2018

Cyclone Pcb Factory

Published on January 01, 2018