Re:Raspberry Pi Zero: the $5 computer
by Tepix on Thursday November 26, 2015 @08:15AM
(#10632813)
Linux also isn't a real-time OS which is often important when dealing with motors and sensors.
[ Parent
| on HN ]
Re:Raspberry Pi Zero: the $5 computer
by picozeta on Thursday November 26, 2015 @03:05PM
(#10634486)
However, you can get very far with the built-in real-time capabilities. If your software stack can deal with occasional jitter in sensor updates (and normally you have to take that into account), you can compile a stock kernel with PREEMPT_RT and can use C to build software that has to do IO every 1ms. In POSIX. That is huge.
Re:Raspberry Pi Zero: the $5 computer
by tinkerdol on Thursday November 26, 2015 @10:29AM
(#10633322)
What would be a real-time OS? I'd be interested in hooking up a bunch of independent boards that could interact with each other, and have as quick as a response to sensors as possible... Do you have any advice as to where to start with this type of project?
Re:Raspberry Pi Zero: the $5 computer
by phamilton on Thursday November 26, 2015 @02:50PM
(#10634426)
Sensor latency will be measured in milliseconds in Linux. A real time OS is more necessary when you have feedback loops, inverted pendelum problems, bitbanging protocols, etc. Not being a real time OS just means that when you say "ping me in X time" it might ping you in X +- Y. Y tends to be too big for critical applications, but generally small enough that it won't matter.