Controlling a variable with a throttle axis

Hello There, my team and I are working on a system that controls a variable, in this case sensitivity of the motors, with a throttle switch. We are using the Logitech Extreme 3D Pro flightstick and are programming in Java.

Thanks!

That’s an interesting idea and I might try it and see how the driver reacts. A problem I could foresee is that for some reason the throttle is left down and it disorients the driver

Are you using the actual throttle that rotates, or a button?

Definitely been done. I recommend that the throttle on minimum setting should be 20-50%, definitely not zero. A non-moving robot is likely to induce panic in the driver; moving slowly is more likely to produce focus.

Agreed with above. We used the throttle for varying the intake speed on our robot last year and used the following code:

intakeSpeed = ((1 - (controlStick.GetRawAxis(3)+1)/2)/2) + 0.5;

It basically scales the throttle from [-1, 1] to [1.0, 0.5] (notice how it is reversed). The exact minimum and maximum should probably be decided by your drivers, but if I remember right our drivetrain usually has a minimum of around 20-40% power required to get it moving at all.