|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#40
|
|||
|
|||
|
Re: pic: 254 Drivetrain
The drive train loop is open when you are turning (see the other posts linked to for more information about that), but the straight drive loop is closed. The striaght drive code is run whenever the steering wheel is at the center position +- a certain deadzone. It uses the proximity sensors to get a speed error (left count - right count). For the robot to go straight, the speed error should be 0, but it usually isn't, so the speed error is multiplied by a constant and subtracted from whatever side is going faster.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: team 254 teaser | CD47-Bot | Robot Showcase | 10 | 02-03-2004 10:06 |
| pic: team 254 teaser | CD47-Bot | Robot Showcase | 4 | 07-02-2004 09:37 |
| pic: Team #461 Drivetrain | CD47-Bot | Robot Showcase | 8 | 05-03-2003 08:07 |
| pic: Team 254 Robot Cart (1 of 3) | CD47-Bot | Extra Discussion | 3 | 28-02-2003 16:51 |
| 254 The Best Partner in FIRST | sfield | Regional Competitions | 5 | 03-04-2002 23:23 |