Once again playing with the traverse idea. It looks pretty good at lower input frequencies, but gets wonky once the master gets above "relatively slow". Hopefully I am setting something incorrectly. The gear ratio is changed based on the master count (Axis0 AXVEL) from a MATH mod (%) converting it to a repeating sawtooth which is then the input of a LERP that sets the ratio to 0,1,0,-1,0 based on the position on the sawtooth. I take the LERP output and give it a scale factor, in the case I have attached the trend for that is 0.5 so I will have the follower at 0,0.5,0,-0.5,0 gear ratio.
At up to 8000 Hertz on the master, the slave follows pretty reliably. There are slight variations from the ideal stopping point, but not a lot. At 12KHz, this all goes to pot as it seemingly randomly decides to bobble around 3-4KHz instead of 6Khz. These spots vary based on what parameters I put in for the AXGEAR accel and decel.
The program is very minimal, the Axis1_Gear program is always run from Main. I'm using stages. I don't see anywhere I have much tweaking ability. I can hear the BX whine with the frequencies it is outputting and it gets rough where it looks rough on the trend. I only have trend updating status, nothing else, but I didn't see a difference. I tried upping the timeslice for Axis1_Gear from 100uS to 1000uS and saw no difference (didn't think I would but?)
So what's going on and how can I fix it?