Hey all,
I'm working on a patch to control the path of this serial control camera. I'm trying to figure out how to do some interpolation since the camera's interpolation is too fast.
so what I want is something like "line" except:
camera positions
ramp, but only for each step (since the camera will only accept serial commands so fast)
For example:
[10< | [iline 0 33] 0 is the initial value and 33 is the time for each step |
The output would be 0 1 2 3 4 5 6 7 8 9 10 and gets to 10 in 330ms.
If I then send a [6< message we get:
9 8 7 6 and takes 90ms
I'm trying to build one now, but the whole +,- part is getting complex...
If anyone has an abstraction/external like this laying around let me know, or an elegant way to accomplish it would work too...
Maybe I should try for a pyext solution... hmmm.
Thanks all.
b.