|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#7
|
|||
|
|||
|
Re: Save the Gearbox, Save the Game
Depending on your gearing, you can change the aRate and dRate. 8 and 12 worked well for us. Feel free to change it to suit your needs.
To get more responive braking, put the Victor jumper on "B", the inner 2 pins. This will cause the robot to actually stop after you tell it to. About the negative or >255 pwm outputs, you can put a limiter on the temporary pwm. something along the lines of (* is wildcard): if (pwm**temp > 255) pwm**temp = 255; else if (pwm** < 0) pwm** = 0; If the bad pwm's give you a problem, put these lines of code before the pwm assignment, but after the if/else block, replacing th *'s with the approprate number. Last edited by Mark_Benedict : 05-02-2007 at 13:07. Reason: to create a more clear message |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [wiki]: how to save more than one prog. in the RC | Edourdo | FIRSTwiki | 1 | 04-02-2007 17:29 |
| Save a variable | dawonn | Programming | 7 | 23-04-2005 08:30 |
| SCRRF Save the Regional | Redhead Jokes | Southern California Regional Robotics Forum | 0 | 03-05-2003 14:54 |
| Duel on the Delaware - Save $$$ Now | MOEWidow | Off-Season Events | 11 | 30-04-2003 21:28 |
| Save the rookies!!! Please help us to design a crate... | Eugene | Technical Discussion | 7 | 05-02-2002 20:22 |