Go to Post These awards aren't easy to get, and if a team deserves an award, they deserve to be cheered on for it. - tckma [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-01-2010, 19:08
Hustler Hustler is offline
Registered User
FRC #2813
 
Join Date: Apr 2009
Location: Santa Clara
Posts: 1
Hustler is an unknown quantity at this point
controller sensitivity for logitech gamepad

Hi
I"m on team 2813 and this is my second year programming with labview.

My question is to how to change the sensitivity on the Logitech Gamepad controller, which we are using for the first time as a way to drive the robot. The driver on my team says it's too sensitive as the robot moves way to fast for moving the stick just a little bit. The Mentor on my team says to change the Deadband, which should fix the sensitivity problem. However my Mentor and I are unsure how or where to change it. I did notice the deadband global when I opened up the motor set speed vi. but was unsure how to change it.

Any help would be appreciated
Thanks in advance
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2010, 23:41
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: controller sensitivity for logitech gamepad

Not being a programmer, I can't help directly, but I also did not want your post to go completely unanswered.

Do you understand what deadband is? That's important.

As it is now, any input from the joystick produces a linearly-same output to the motor. That is, a 20% input produces a 20% output, 50% in=50% out.

Basically, to address your sensitivity issue, you change this "mapping" between input and output. For example:
Code:
In %   Orig. Out%  "New" out %
0           0              0
10        10              5
20        20             10
30        30             15
40        40             25
50        50             40
75        75             70
100       100           100
The "Orig Out %" is what you might have now, the "New out %" is re-mapped to provide more sensitivity at low throttle settings, while retaining full throttle where it is. Drivers cannot tell the difference (easily) between 50, 75 and 100%, but they sure can tell 10 from 20%

Just some food for thought.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2010, 00:15
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: controller sensitivity for logitech gamepad

use a case structure that divides by 2 when <50 and doesnt do anything when its >50 so when joystick value is <50 power output is cut in half
and when >50 output is normal this is what we are using for our logitech controller
it will be something like
10=5
25=12.5
50=25
75=75
100=100
you can adjust the parameters of the case by adjusting the separator
hope this helps
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech Dual Action Gamepad 2010 Fix Nashua131 C/C++ 1 01-11-2010 23:09
logitech dual-action gamepad kamocat NI LabVIEW 6 19-01-2010 20:47
Logitech Dual-Action Gamepad - Axis Problem Mr. Lim Programming 5 16-01-2010 19:28
New class for Logitech Dual Action Gamepad Mike Soukup C/C++ 8 11-02-2009 20:08
Gamepad Controller Mike375 Technical Discussion 13 05-03-2002 21:20


All times are GMT -5. The time now is 22:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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