|
|
|
![]() |
|
|||||||
|
||||||||
| 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 |
|
#2
|
||||
|
||||
|
You might try something like
if RgtMtr > 127 then LftMtr = LftMtr MAX RgtMtr ' If right motor is forward then limit left motors speed to right motors speed. if RgtMtr < 127 then LftMtr = LftMtr MIN RgtMtr ' If right motor is reverse then limit left motors speed to right motors speed. Note: This is PBASIC 2.5. It will not run with the 2.0 stamp programmer. If you need help understanding this, PM me. |
| 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 |