![]() |
Sensitivity Wheels - help please
hi, 'sup doods?
I have a problem in setting the program code for the wheels. :( In my program code I've already set the wheels but there is a problem. The Joystick is too Sensitive! When I pull it full froward the robot just flies!!! :ahh: Can someone please give me the code for Sensitivity? :rolleyes: |
Re: Sensitivity Wheels - help please
if you want full forward to go half as fast as it is now, divide the joystick readying by two
since the center (off) reading is 128, you need to add 64 to the result to get off back to 128 joystick := (joystick / 2) + 64 if you want it even slower, divide by 4 and add 96 to get zero back to 128. Something to consider: if your robot is way too fast with the motors running full speed, you might need to gear down your drivetrain (or use smaller wheels). This will bring down your top end, and give your robot more pushing and climbing power. |
Re: Sensitivity Wheels - help please
You might also find it useful to change the characteristics of the joystick vs. speed curve.
Basically, make it so that if you push the joystick within zero and halfway (for example), it gives you up to 1/2 of your max speed, then from halfway to full forward it gives you the rest. Example: Code:
#define SENSITIVITY_TOLERANCE 179 /* play with this value */ |
Re: Sensitivity Wheels - help please
Quote:
the default RC code gives you half speed at half-stick, right? |
Re: Sensitivity Wheels - help please
Quote:
|
Re: Sensitivity Wheels - help please
Quote:
|
Re: Sensitivity Wheels - help please
Don't pull the joystick foward all the way, it's like a car.
|
| All times are GMT -5. The time now is 01:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi