by Fritzoid » Fri Apr 23, 2010 11:30 am
by Fritzoid
Fri Apr 23, 2010 11:30 am
I've been looking into the issue of stabilized walking myself and there are some serious constraints dictated by both the hardware and the firmware.
FabinovX is right there isn't much time in the callback routine. Figure on less than 4ms to do everything that needs to be done. That's only enough time to read a few sensors, do a little math, update some offsets, and feedback a few characters to the user.
The sensors are also a big issue. Reading an A/D port in the callback is very fast but reading an off-board sensor like an AX-S20 can take up to 500us per word, ouch. Unfortunately the on-board AD conversion is so noisy that it's basically useless for accurate feedback.
Finally, the feedback loop has to be general enough so that it can be applied to all the walking motion sequences consistently.
So the job is going to be a challenge on a number of fronts, but not impossible.
I've been looking into the issue of stabilized walking myself and there are some serious constraints dictated by both the hardware and the firmware.
FabinovX is right there isn't much time in the callback routine. Figure on less than 4ms to do everything that needs to be done. That's only enough time to read a few sensors, do a little math, update some offsets, and feedback a few characters to the user.
The sensors are also a big issue. Reading an A/D port in the callback is very fast but reading an off-board sensor like an AX-S20 can take up to 500us per word, ouch. Unfortunately the on-board AD conversion is so noisy that it's basically useless for accurate feedback.
Finally, the feedback loop has to be general enough so that it can be applied to all the walking motion sequences consistently.
So the job is going to be a challenge on a number of fronts, but not impossible.