![]() |
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 |
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.
|
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. |
Re: Joystick help (Rookie)
This thread has great solution that uses a cubic function.
http://www.chiefdelphi.com/forums/sh...ad.php?t=63069 |
Re: Joystick help (Rookie)
ok thank you all for all the help
|
Re: Joystick help (Rookie)
Quote:
http://www.chiefdelphi.com/forums/sh...2&postcount=54 Good luck! |
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. |
Re: Joystick help (Rookie)
ok thank you i will check that next time in with the robot thanks again
|
Re: Joystick help (Rookie)
i think our driver just needs to learn how to drive!!!!!
|
| All times are GMT -5. The time now is 07:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi