|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: Problems with our driving
One thing our team is doing that seems to help a ton is using a cubic function: motor = (input - 127)^3/127^2 + 127
The real nice thing about this method is that when the joystick is at either extrema (0 or 255), your motor is at the extrema too... But moving the joystick a little moves the motors even less near the center. For example, plugging in 157 (only 30 'ticks' forward of the center of the joystick) gives you a motor output of something like 130. Basically, you make the robot less responsive to the joystick near the center, but gradually "ramp up" the responsiveness as you move the joystick out. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with our OI/RC | robobrain0101 | Programming | 3 | 09-02-2007 14:48 |
| autotracking and driving with Easy C??? | team877 | Programming | 4 | 19-01-2007 12:36 |
| Basics for autotracking and driving with it | team877 | Programming | 1 | 17-01-2007 20:27 |
| Problems with our school | Team1726Nerds | Chit-Chat | 6 | 13-01-2006 23:55 |
| problems with our programmer | AlphaOmega870 | Programming | 12 | 31-01-2003 08:23 |