View Full Version : Logitech extreme 3d pro
How to program the throttle on the 3d pro? What are the inputs? We r programing in Java.
PikaDotus
25-01-2014, 13:34
On this joystick, the x-axis (left-right) is axis 1; the y-axis (up-down) is axis 2; the z-axis (twist) is axis 3; the throttle (on the bottom of the base of the stick) is axis 4.
To access these axes in Java:
Joystick joystick = new Joystick(1);
joystick.getRawAxis(4);
// etc.
You can also use the joystick methods that don't use the raw axes, however I like using the raw ones.
How to program the throttle on the 3d pro? What are the inputs? We r programing in Java.
Just program it the same way you program other axes. The axes are as follows:
Axis 1: x
Axis 2: y
Axis 3: z (Twist)
Axis 4: Throttle
We are trying to set the speed for our robot using the throttle. Can you help us with that?
We are trying to set the speed for our robot using the throttle. Can you help us with that?
Speaking from experience: Why?
Most folks around here just use the Y-axis to control speed; if you're in single-stick drive, X generally becomes your turning control. (For 2-stick drive, AKA "tank", each Y-axis controls one side of the drivetrain.) Using the throttle to control speed just seems like you're overly complicating things.
Thanks for you reply. Our robot moves erratic and hard to control that is why we are trying to use the throttle to slow it down at times to gain better control but we have been unsuccessful att.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.