|
|
|
![]() |
|
|||||||
|
||||||||
| View Poll Results: How Do i Program The speed Of Each Wheel | |||
| you may post new threads |
|
5 | 83.33% |
| you may post replies |
|
5 | 83.33% |
| you may post attachments |
|
4 | 66.67% |
| you may edit your posts |
|
4 | 66.67% |
| Multiple Choice Poll. Voters: 6. You may not vote on this poll | |||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Unfortunately, motors aren't perfect nor identical. I assume you're having a problem along the lines of, "I drive both motors at 254, but the left side is moving faster."
This can be solved by using some constants at the top of your code and calibrating your drive train through experimentation. Try using the USER MODE on the OI to display the value being sent to one of the motors, and then tweak it until both sides are spinning the same. Then, take that offset and incorporate it into your drive subroutine. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2-week FIRST summer program @ WPI | ColleenShaver | General Forum | 20 | 31-05-2009 03:02 |
| Fried program slots? | Jeff Waegelin | Programming | 18 | 19-03-2003 18:08 |
| Ahh! Program trick confusing! | archiver | 2001 | 9 | 24-06-2002 02:26 |
| "Motors and Drive train edition" of Fresh From the Forum | Ken Leung | CD Forum Support | 6 | 29-01-2002 12:32 |
| about how Drive Train push the robot... shouldn't the force accelerate the robot? | Ken Leung | Technical Discussion | 12 | 26-11-2001 09:39 |