![]() |
New Joysticks...Good or Bad Choice by FIRST?
Our joysticks are insanely sensitive. When moved, they do not return to zeroed position by themselves. Is there any other way to adjust sensitivity? :confused:
|
Re: New Joysticks...Good or Bad Choice by FIRST?
The easiest way to do this would probably be to add a deadband in programming by changing the output value to the motor to 127 if the joystick is within a certain range of 127. For example, if pwm01 and pwm02 are controlling the robot drive, you could insert the following code in the Process_Data_From_Master_uP function in the user_routines.c function:
int deadband = 20; //the above value may need to be more or less depending on how sensitive the joysticks are pwm01 = (abs(pwm01 - 127) <= deadband ? 127 : pwm01); pwm02 = (abs(pwm02 - 127) <= deadband ? 127 : pwm02); and add this function to find absolute value to the user_routines.c file as well: int abs(a) { return (a < 0 ? -a : a); } I have not tested this, but I do believe that it should work. |
Re: New Joysticks...Good or Bad Choice by FIRST?
The new joysticks this year are good and bad in there own.
Good -More buttons -Fits your right hand comfortably Bad -Doesn't fit left hand -No wheel -Can't use two joysticks on the same port -Anything else you can think of |
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
I like them...but I wish they'd sent a left handed, too! What about left handed drivers? :( Lefties unite! OK, not really... I do like the extra buttons and the little d-pad in the middle very much. Fun stuff for us programmers to play with! |
Re: New Joysticks...Good or Bad Choice by FIRST?
theyre nice But Only right handed.
For a Driver like Me who likes to use two sticks to drive the new sticks would be a bit awkward i have the idea of using an old stick on the left a new one in the right and using the other new stick for an operator. but now that you say they have difrent sesctivity... im thinking i only would use the old sticks for driving. Using one stick In a ,2 wheel drive, tank or somthing similar. i find it very frustrating. with one stick the computer is deciding what to do with your movements and it dosent always want to do what you think your telling it to |
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
We do, however, have two more buttons built into the joystick that work. The button to the left of the omni-directional thingy is pN_sw_aux1, and the other one is pN_sw_aux2 (where N is obviously the port number). |
Re: New Joysticks...Good or Bad Choice by FIRST?
I agree that the new joysticks are awkward to drive but they are nice as a secondary control. For the drive I'm going to switch back to the old joysticks! At least they fit your hand!
|
Re: New Joysticks...Good or Bad Choice by FIRST?
I don't particularly like the new joysticks. They feel flimsy and plasticy. The old joysticks, the ones we will be using this year, feel sturdier and generally more comfortable. Plus the whole 2-joystick drive for tank drive robots problem with the right handed joysticks, but that has been elaborated upon already.
|
Re: New Joysticks...Good or Bad Choice by FIRST?
A few years ago we had a stick that was similar in design to the new ones but black and much sturdier. Unfortunately it broke when we took the robot somewhere to showcase it... :(
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Yea, we would have bought a new one after that one broke (hit by car door) but it was post-season so we didn't think anything of it until it was too late to remember where it was from...
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Does anyone happen to have the model number/website for the joysticks. I havent had a chance to see them any I won't be able to get to them till Saturday.
|
Re: New Joysticks...Good or Bad Choice by FIRST?
i want the website too...
it has this weird AB swooshy logo on it and a model #, but besides that, nothing. If we get the website we can get a lefty joystick :P besides, we can always just 'modify' the joystick if necessary |
| All times are GMT -5. The time now is 17:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi