Quote:
Originally Posted by JesseK
Don't forget that another option is pre-processing of lookup tables, if the memory will hold it. 256 data points, 1 per PWM step, would be easy to calculate during sensor initialization and also cut down on cycles ('triple sin wave ftw'). Preprocessing it instead of pre-programming it also allows you to make adjustments to parameters before each match (if needed).
I agree that it's probably not needed for the cRIO, but was very useful for old-school quadrotors on primitive processors. It also helped back in the 90's with signal processing algorithms that needed to be realtime.
|
Interestingly, we can specify 256 unique positions (0-255) but only a portion of them produce unique outputs on the Victor.
http://www.ifirobotics.com/forum/viewtopic.php?t=317