jiahan / atrias

Automatically exported from code.google.com/p/atrias
0 stars 0 forks source link

data_publisher publishes at 1 kHz, but not the right datapoints #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the publisher is forced to loop at 1 kHz and publish at every loop. 
Obviously, this does not necessarily sync with shm updates. This brainfart 
needs to be fixed.

Original issue reported on code.google.com by yoos117@gmail.com on 2 Nov 2011 at 11:46

GoogleCodeExporter commented 9 years ago
shm->io_index doesn't update itself. For example, when rtai_controller is 
unloaded, the io_index keeps its value in memory. The kernel interface checks 
the io_index starting from 0, so io_index needs to be reset, as well. I'm not 
sure what the current behavior of io_index is.

Original comment by yoos117@gmail.com on 5 Nov 2011 at 5:28

GoogleCodeExporter commented 9 years ago
data_publisher checks current value of io_index at startup.

Original comment by yoos117@gmail.com on 30 Nov 2011 at 9:56