Linux with RTAI: how would this work?



Hi,

Let's say I'm developing a control system for a UAV and I've decided to use
Linux with RTAI in the vehicle. I have a real-time task which does the
actual actuation of the flight surfaces and it controls the hardware
(motors) through GPIO pins. The RT task is talking to Linux through a fifo
(which Linux processes see as a block device) and Linux has a device driver
for a wireless radio data transceiver to talk to the base station.

The problem I see is that data being fed to the RT task is non-deterministic
since the data comes from Linux. This implies that to get proper hard Real
Time response one would have to write a RT device driver for the wireless
data transceier as well. In other words, the use of Linux wouldn't really
help very much. Even in a factory setting where the UI updates are being
handled by Linux there would still need to be a RT Ethernet driver to talk
to other factory floor devices for the same reason as illustrated above.

So is RT Linux actually a good choice?

JR



--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: ABI change for device drivers using future AVX instruction set
    ... the possible use of YMM registers in device drivers. ... should it be the responsibility of the device driver? ... The Linux kernel always saves FP and related state only in the function ...
    (Linux-Kernel)
  • Re: help regarding development of common interface of application with devices..
    ... You do know this is a Linux newsgroup right? ... which would help with the synchronization ... using an ioctl interface, read/write call interface, or the proc ... Device driver have and application modules have ...
    (comp.os.linux.development.system)
  • Re: Call standard C functions in device driver
    ... The biggest difference between Linux and Windows CE is that Linux is ... Linux, all device drivers, either built within kernel or as a module ... My understanding in general is that a Windows CE device driver can ...
    (microsoft.public.windowsce.embedded)
  • Re: J1939 protocol source code
    ... Rob wrote: ... Operating systems include Winxx and Linux. ... I would differentiate between CAN and looking for a higher level independent ... to the layer-2 device driver. ...
    (comp.arch.embedded)
  • Re: Device Files ... dev directory and access
    ... thanks for your generous explanation. ... Linux; obvious differences would include kernel modules and how they're handled. ... (eg actually write a device driver), then a more detailed look at the ... confusion sometimes and stupidity/ignorance in other cases. ...
    (alt.os.linux)