|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: paper: joystick sensitivity (gain) adjustment
Oh dear, I'm way behind, aren't I? We were using the original y = a(x^3) + (1-a)x formula. That "2parm" looks interesting for Monday's programming session.
I think we might be running out of joystick buttons. We've got 2 buttons already for switching gear speed up and down -- yet another parameter in the mix, as "Full cubic" in first gear is really slow. Another thing I might mention is that we are changing only the "forward/backward" axis of the joystick, and the "left/right" axis is not being changed. (The robot is a standard drive left/right sides.) General thought of the group is that this gives full turning power always. |
|
#2
|
||||
|
||||
|
Re: paper: joystick sensitivity (gain) adjustment
Quote:
Look carefully at the figures and the associated narrative. This filter does not reduce the maximum available output. It just changes the response curve to reduce the gain for small commands. The maximum output of the filter is +/-1 regardless of the values selected for the tuning parameters. What kind of drivetrain are you using, and what type of driver interface? |
|
#3
|
|||
|
|||
|
Re: paper: joystick sensitivity (gain) adjustment
This probably should go in another paper, but it helps handling a lot if you get some speed vs PWM data, and then curve fit it so that you can convert the nonlinear response of the Victors to a nicer linear response. I ended up using a 7th order polynomial last year to do that, and it helped quite a bit.
|
|
#4
|
||||
|
||||
|
Re: paper: joystick sensitivity (gain) adjustment
Quote:
|
|
#5
|
|||
|
|||
|
Re: paper: joystick sensitivity (gain) adjustment
Sure. I only tested it one direction and duplicated the data as you can see. The data isn't quite as clean as I would have liked, but it's not bad and worked well enough. I exploited the symmetry when I fitted it to avoid getting answers that didn't make much sense.
Code:
# Speed Power Data on blocks. 0.103448 0.020000 -0.103448 -0.020000 0.252874 0.043000 -0.252874 -0.043000 0.333333 0.059000 -0.333333 -0.059000 0.454023 0.082000 -0.454023 -0.082000 0.517241 0.098000 -0.517241 -0.098000 0.614943 0.145000 -0.614943 -0.145000 0.724138 0.184000 -0.724138 -0.184000 0.793103 0.223000 -0.793103 -0.223000 0.885057 0.363000 -0.885057 -0.363000 0.965517 0.559000 -0.965517 -0.559000 1.000000 0.918000 -1.000000 -0.918000 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Joystick Sensitivity | furiousgeorge | NI LabVIEW | 15 | 04-02-2014 23:10 |
| joystick sensitivity adjustment | Ether | Programming | 3 | 19-02-2010 00:07 |
| joystick sensitivity | gabrielse | Programming | 2 | 08-02-2008 14:52 |
| Joystick sensitivity | Philz20 | Programming | 10 | 24-01-2008 08:34 |
| White Paper Discuss: Joystick Sensitivity Demystified - Version 2 | marccenter | Extra Discussion | 0 | 28-02-2005 16:54 |