|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Our joysticks are insanely sensitive. When moved, they do not return to zeroed position by themselves. Is there any other way to adjust sensitivity?
![]() |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
||||
|
||||
|
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 |
|
#4
|
|||||
|
|||||
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
There are two wheels to be exact.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! |
|
#5
|
|||||
|
|||||
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
|
|
#6
|
||||
|
||||
|
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). |
|
#7
|
|||||
|
|||||
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
Last edited by Astronouth7303 : 21-01-2004 at 21:37. |
|
#8
|
|||||
|
|||||
|
Re: New Joysticks...Good or Bad Choice by FIRST?
The directional pad on top of the joystick does take one of the analog inputs but there still is that second one you can use to make your wheel that was on last years joystick with a pot and a piece of wood or metal cut into a circle.
|
|
#9
|
|||||
|
|||||
|
Re: New Joysticks...Good or Bad Choice by FIRST?
To use a pot, all you need is to drill a hole. There's a litttle nut on top to attach it.
|
|
#10
|
||||
|
||||
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
![]() |
|
#11
|
|||||
|
|||||
|
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 |
|
#12
|
|||||
|
|||||
|
Re: New Joysticks...Good or Bad Choice by FIRST?
Quote:
|
|
#13
|
|||||
|
|||||
|
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!
|
|
#14
|
||||
|
||||
|
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.
|
|
#15
|
|||||
|
|||||
|
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...
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vanilla Coke..good? bad? | A. Leese | Chit-Chat | 41 | 07-01-2004 00:15 |
| college counseling decides to help us... good or bad? | AlbertW | General Forum | 4 | 16-05-2003 15:14 |
| NYC Regional- Give me the good, bad, or ugly... | Rich Wong | Regional Competitions | 23 | 28-03-2003 17:56 |
| Chiaphua Motors: Good or Bad to 2002 Kit Of Parts? | D.J. Fluck | Motors | 25 | 05-07-2002 16:40 |
| good idea or bad? | archiver | 2001 | 4 | 23-06-2002 23:08 |