- From: Tao Geng <tgeng_at_cn.stir.ac.uk>
- Date: Thu, 14 Oct 2004 14:02:48 +0100
Hi Michael, I have just looked at your code, it seems that it runs two Comedi_command for read and write alternately. I guess, the problem may be that, every time Command is started, it configures the board, this cost many time. I am doing a work similar to yours with this board, that is, controlling a biped robot walking. I use only one Comedi_command to read sensor signals, and use comedi_data_write to output to the board. The servo update rate is about 5ms, which means that, in 5ms, 7 A/D channels are read, and 4 D/A channels are written. I know, this may be not the fastest way to do input and output with this board at the same time, but it is fast enough for my robot. If you are interested, I can send my code to you. And, you can look at the robot walking movies at my page, www.cn.stir.ac.uk/~tgeng/robot Hope to be of help. Regards. Tao
Received on 2004-10-14Z12:02:48