The past year, we've been giving Orocos training on several occasions. The
first exercises were based on a 'hello world' component and the training
finished with a complete 'build your own controller' exercise. I have made
these exercises self-documenting and now they are here for you, free to use
for teaching or learning.
I consider them to be in the public domain, but any improvements or additions
are welcome.
Peter
Attachment | Size |
---|---|
rtt-exercises-1.6.0.tar.gz | 50.05 KB |
README | 943 bytes |
New Orocos RTT tutorial
> I consider them to be in the public domain, but any improvements or
> additions are welcome.
Is this tutorial also available through orocos.org. I think it's a usefull
addition to the existing manuals.
Tinne
New Orocos RTT tutorial
(please reply to list)
On Thursday 11 December 2008 14:59:34 Vitali Schauermann wrote:
> Hello Peter,
>
> i have got this example from "The Orocos Component Builder's Manual" / 2.6.
> Custom or Slave Activities
>
> // Without master
> // a 'slave' without explicit master, with period of 1KHz.
> SlaveActivity slave_two( 0.001 );
> // a 'slave' without explicit master, not periodic.
> SlaveActivity slave_three();
Thanks for pointing out that typo :-)
>
> slave_two.start(); // ok: start periodic without master
> slave_two.execute(); // ok, calls 'step()', repeat...
> slave_two.stop();
>
> slave_three.start(); // start not periodic.
This comment should read: // start non-periodic slave.
> slave_three.execute(); // ok, calls 'loop()', may block !
> // if loop() blocks, execute() blocks as well.
>
> anyway.
>
> Bwt, what is the reason that i couldn't start a SlaveActivity if i use it
> without the master ?
It's a typo in the comments. If there's no master assigned, you can always
start/stop a slave.
Peter