Re: Realtime Comedi commands

Sorry for taking so long in replying...

On Wednesday 10 July 2002 04:50 pm, Herman Bruyninckx wrote:
> On Wed, 10 Jul 2002, Ivan Martinez wrote:
> > 	I'm using Comedi with RTAI, and I want to implement some
> > 	control loop with many inputs and outputs. If I use commands,
> > 	then the control loop and the outputs writing should be in the
> > 	callback routine, that will be executed at the end of every
> > 	scan (with TRIG_WAKE_EOS flag).
>
> In the Orocos project <www.orocos.org>, we also are working on a more
> or less general feedback control framework. We don't rely on the
> callback for doing the control, but `pull' the data from Comedi when
> we need it.

Here we want to test engine models and controls, so we read all the inputs, 
perform the operations, and write the outputs at a fixed (and fast) rate.

> I know that you have been working on DSLib, but I don't see
> general documentation that is more recent than October 2000. Can you
> elaborate a bit about the current design for doing control with DSLib
> (version 2.0 which is announced on the website
> <http://dslib.sourceforge.net/>) ?
> Herman

That documentation is for version 1.0.0, but it's still quite accurate. 
Versions from 1.1.0 to 1.3.0 just add some features, which I haven't 
documented but I provide some helpfull examples, I hope:

http://dslib.sourceforge.net/documentation.php

In any case, you can contact me for support.
About version 2.0.0, well, you can forget about it at the moment. I figured 
out much better ways of doing things, but I'm never given the time to 
reimplement things. I should remove it from the website.

Ivan

Received on 2002-07-15Z08:18:09