View Single Post
  #6   Spotlight this post!  
Unread 06-02-2008, 16:22
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: controller sensitivity

We're using a very similar function in our code, and an x-box controller and it works great... the best way to look at it's capabilities is to run some numbers through it:
Code:
in	out
-127	-127
-120	-107
-110	-83
-100	-62
-90	-45
-80	-32
-70	-21
-60	-13
-50	-8
-40	-4
-30	-2
-20	0
-10	0
0	0
10	0
20	0
30	2
40	4
50	8
60	13
70	21
80	32
90	45
100	62
110	83
120	107
127	127
So it reduces sensitivity at the center (ie your robot doesn't move at all when you aren't touching the controller), and it increases the range at which your robot is manageable (ie doesn't have a huge speed), but it gives you the maximum speed when you really need it.