Quote:
Originally Posted by davidthefat
Well, it takes less clock cycles to just retrieve data from an array compared to calculating the angle on the fly. Even though a look up table does take up considerable amount of space in the RAM (Not really since we are dealing with 64 MB of RAM...) Also given the level of accuracy we only really need, about ± pi/180 radian. I think it should be fine.
|
The cycles are a nonissue on the cRIO, and using the function is substantially less code/setup time.