Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Logitech extreme 3d pro (http://www.chiefdelphi.com/forums/showthread.php?t=125217)

5339 25-01-2014 13:25

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

Re: Logitech extreme 3d pro
 
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:

Code:

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.

Whippet 25-01-2014 13:34

Re: Logitech extreme 3d pro
 
Quote:

Originally Posted by 5339 (Post 1332121)
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

5339 25-01-2014 13:56

Re: Logitech extreme 3d pro
 
We are trying to set the speed for our robot using the throttle. Can you help us with that?

EricH 25-01-2014 14:18

Re: Logitech extreme 3d pro
 
Quote:

Originally Posted by 5339 (Post 1332133)
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.

5339 27-01-2014 19:59

Re: Logitech extreme 3d pro
 
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.


All times are GMT -5. The time now is 02:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi