Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Joystick Linearity (http://www.chiefdelphi.com/forums/showthread.php?t=52311)

NinJA999 19-01-2007 21:53

Joystick Linearity
 
1 Attachment(s)
Here are the results of our test of two calibrated default joysticks. We used a ruler to see the changes in mm every 20 y values (using dashboard to see the values). We have concluded that they are linear.

Another Link To The Graph

Jared Russell 27-01-2007 22:29

Re: Joystick Linearity
 
They better be! They use linear potentiometers, after all. :D

That said, the linearity of the joystick can be misleading. If you do open-loop drive control (i.e. pwm01 = p1_y), you will find that the speed of the motor on pwm01 will NOT increase linearly over the entire range of the joystick.

NinJA999 28-01-2007 10:21

Re: Joystick Linearity
 
Right. We have implemented code that makes the pwms linear, and it runs so much more smoothly now.

gburlison 28-01-2007 15:41

Re: Joystick Linearity
 
Quote:

Originally Posted by NinJA999 (Post 566781)
Right. We have implemented code that makes the pwms linear, and it runs so much more smoothly now.

We implemented a look up table to purposely make them nonlinear. We like more sensitivity around the center to make it easier to drive slow and precise. We lose sensitivity at full speed, but when you want to go fast sensitivity is not as important to us.

NinJA999 28-01-2007 18:49

Re: Joystick Linearity
 
Interesting. To do that we implemented a reduced speed switch on the trigger.


All times are GMT -5. The time now is 20:27.

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