|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Joystick help (Rookie)
Hello everyone I was wondering if there is a way to change the sensitivity of the joysticks right now we barely touch them and the wheels go we would like a little less sensitivity help greatly appreciated
A.Tup 2620 |
|
#2
|
||||
|
||||
|
Re: Joystick help (Rookie)
its in the programming code, i dont remember exactly because im not at school but i can probably help you tomorrow. What our team did was make three different "gears" you could call them for reverse, and 5 for forward, so that you gradually get faster.
|
|
#3
|
||||
|
||||
|
Re: Joystick help (Rookie)
The following code will scale down your joystick sensitivity:
if your original code was Code:
pwm01 = p1_y; Code:
pwm01 = ( ((signed int)p1_y) - 127 ) / 2 + 127; Hope that wasn't too confusing, --Ryan Edit: That's for MPLAB. If you're using EasyC, I'm not sure if I can help as much. Last edited by RyanCahoon : 08-02-2008 at 05:05. Reason: Sudden realization |
|
#4
|
||||
|
||||
|
Re: Joystick help (Rookie)
This thread has great solution that uses a cubic function.
http://www.chiefdelphi.com/forums/sh...ad.php?t=63069 |
|
#5
|
||||
|
||||
|
Re: Joystick help (Rookie)
ok thank you all for all the help
|
|
#6
|
||||
|
||||
|
Re: Joystick help (Rookie)
Quote:
http://www.chiefdelphi.com/forums/sh...2&postcount=54 Good luck! |
|
#7
|
|||||
|
|||||
|
Re: Joystick help (Rookie)
Adam,
Something no one mentioned is to ask the question "Are your speed controllers calibrated?" Quite often, the Victors do not match the charachteristics of your joysticks. Move your joysticks forward and reverse and see at which point the Victor LED is fully red and fully green. If this occurs at less than full travel on the joystick, you need to calibrate the Victor. For teams who do not perform this calibration in the software, the only way to calibrate is following the method in the 884 users manual found on the IFI website. This procedure matches the full travel of your joystick to the full output of the Victor. The joysticks and the Victors are not matched before they are put in the KOP. |
|
#8
|
||||
|
||||
|
Re: Joystick help (Rookie)
ok thank you i will check that next time in with the robot thanks again
|
|
#9
|
||||
|
||||
|
Re: Joystick help (Rookie)
i think our driver just needs to learn how to drive!!!!!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with joystick | lightning_blast | Programming | 2 | 12-02-2006 22:25 |
| Rookie help | doyler | Technical Discussion | 55 | 11-01-2005 08:59 |
| VB6: Joystick help! | Astronouth7303 | Programming | 0 | 15-06-2004 17:05 |
| Changing 1 joystick code to 2 (rookie team) | Brawler006 | Programming | 5 | 20-02-2004 17:00 |
| Joystick Help | archiver | 2001 | 0 | 24-06-2002 01:02 |