by JonHylands » Wed Feb 13, 2008 9:04 pm
by JonHylands
Wed Feb 13, 2008 9:04 pm
Hi Rob,
In my current system, I run everything (at the low level) on a clock, which ticks 30 times a second. So every 33 ms, I query all the physical sensors, get the responses back, and update the "virtual" sensors in my brain model. The update process triggers an event to tell the higher level functions that there are new values available for that specific sensor.
So, its more or less exactly the same as what you have described...
- Jon
Hi Rob,
In my current system, I run everything (at the low level) on a clock, which ticks 30 times a second. So every 33 ms, I query all the physical sensors, get the responses back, and update the "virtual" sensors in my brain model. The update process triggers an event to tell the higher level functions that there are new values available for that specific sensor.
So, its more or less exactly the same as what you have described...
- Jon