Ask Your Question
0

Is ROS compatible with Python and can it run on a Raspberry Pi

asked 2015-06-17 06:09:26 -0600

Euan gravatar image

Looking to add sensors to a robot using Raspberry Pi and the programming language Python. I was wondering if ROS would be a suitable operating system.

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
2

answered 2015-06-17 06:34:19 -0600

Mehdi. gravatar image

ROS despite its name is not really an operating system, it is more like a middle-ware that facilitates controlling your robot and it works on top of Ubuntu or any other Linux distribution. I believe there is already builds of ROS that you can install directly on your Raspberry Pi, as if you were to install any other software on your board, you can find a tutorial here. And ROS is implemented in Python as well, if you do the ROS tutorials you will see that the rospy library offers access to all ROS functionalities from Python.

edit flag offensive delete link more
0

answered 2015-06-17 13:00:07 -0600

corb gravatar image

updated 2015-06-17 13:00:26 -0600

ROS has a nice Python interface (rospy). You can use ROS on Raspberry Pi / Rasbian. I'd recommend the RPI-2 - the RPI-1 will be very limited due to memory and low CPU power (you might want to consider the ODROID-C1 RPI clone as well since it is same price and faster). Not all ROS packages are available for the ARM processors. For more info, see here:

ros wiki Raspberry PI

.

edit flag offensive delete link more
0

answered 2015-06-17 06:35:59 -0600

Cesare gravatar image

ROS is a so called meta-operating system, this means that it's not an OS itself, it need an OS like Ubuntu to run. Beside that, the two main languages supported by ROS are C++ and python.

edit flag offensive delete link more
0

answered 2015-06-17 13:59:49 -0600

jbrown gravatar image

If you use a raspberry pi 2, you can use Ubuntu Snappy, which is a version of Ubuntu for Arm architecture. You can get it here:

https://wiki.ubuntu.com/ARM/RaspberryPi

Make sure you do the partitioning under the usage section, as it will give you a full sized SD card. To install ROS, I followed the instructions here, and it worked out well:

http://wiki.ros.org/indigo/Installati...

This worked just fine for me, I was able to use ROS without a problem, I even compiled OpenCV in about 2 or so hours!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-17 06:09:26 -0600

Seen: 947 times

Last updated: Jun 17 '15