Tell me more ×
Robotics Stack Exchange is a question and answer site for professional robotic engineers, hobbyists, researchers and students. It's 100% free, no registration required.

Is there an operating system for the Raspberry Pi that is specifically made for running robotics applications? Or an operating system whose purpose is to optimized just to run a few specific programs?

I've been working with an Arduino for a while now. As far as efficiency goes, it makes sense to me to just upload a specific set of commands and have the hardware only need to handle that, and not have to worry about running a full fledged operating system. Is something like this possible to do on a Raspberry Pi?

share|improve this question

2 Answers

up vote 7 down vote accepted

You are asking two different things. 1) Is there a robotics-specific operating system, and 2) Is it possible to do hardware-level control on an R-Pi without messing around with an operating system. This is sort of a false dichotomy, as an operating system is a benefit, not a cost, unless you are severely constrained for processing power.

Microcontrolers (Arduino) are designed to handle time-critical things, and usually only one or two time critical things. They are great for turning wheels, etc. When it comes to high level planning, a high-level language / libraries are very helpful. As are multi-threaded applications, etc. This is where your OS comes in. Without further details about your project, I can't help you decide what is the best fit: Arduino or R-Pi.

To answer 1: Yes, just google around.

To answer 2: Yes, the hardware interfaces IO are available to code API's. But you'll need (want) something like this:

You -> OS -> microcontroller -> hardware.

See This excellent answer

share|improve this answer
Hi Josh, if you want to link to an answer (or question) it's best to click on the share link below that answer (or question) as these links are permanent. The url you used in your "This excellent answer" link is to the question page and is non-portable, thus it may break if the question title changes. I presume you were referring to this answer instead. – Mark Booth Dec 13 '12 at 11:28
Thanks! I'll fix this now. – Josh Dec 13 '12 at 15:40

From your question, what you might be interested in is an RTOS for microcontrollers. A very popular one is FreeRTOS, which apparently was ported to Raspberry Pi.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.