L
L
La2ha2013-05-31 01:06:40
linux
La2ha, 2013-05-31 01:06:40

Real-time OS for single board computer for robot

There is an idea to make a robot, I thought to take some kind of single-board computer on the Rockchip RK3066 platform, install ubuntu on it and there already communicate with arduin (oh / s) via usb, receive data from sensors and cameras, process them somehow and depending on the result send a command to the arduino what to do. But someone told me that it won’t work and I need a real-time OS, and I would like to know what can be installed so that OpenCV and Python can be installed there.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
J
jcmvbkbc, 2013-05-31
@La2ha

bideo 640x480 frames 10 per second

...doesn't look like a real time task...
Supported voice commands

... similarly ...
read data from a pair of sensors so as not to crash and fall

... it's more like ...
response I think even half a second in most cases will suit. For this ubuntu will go

… i.e. 0.5s jitter is not critical. In this case, if you have time to process "data from a pair of sensors" in these 0.5s, then Linux is more than suitable.

J
jcmvbkbc, 2013-05-31
@jcmvbkbc

communicate with arduin (oh / s) via usb, receive data from sensors and cameras, process them somehow and, depending on the result, send a command to arduino what to do. But someone told me that it won't work and I need a real-time OS

You should decide on the expected data flow and the maximum allowable delays in the "receive data - process - send a command" cycle and after that decide whether you need an RTOS and, if so, which one. And will “Rockchip RK3066” and “communicate via USB” work for you?
On modern desktop technology, Linux without an rt patch is quite capable of providing jitter within 1ms, with an rt patch - within tens of microseconds.

C
Chii, 2013-05-31
@Chii

www.youtube.com/watch?v=vhG3I1i7DtE
From about 2:10:00 Mikhail tells very interesting stories about real-time OS.
Including about why they are needed and how to assess their reality.

I
Ilya Evseev, 2013-06-02
@IlyaEvseev

Universal OS for development is more convenient.
If you see that its performance is not enough, and the application and system settings are
optimized to the maximum, then bother with real-time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question