|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We have our robot set up for a tank drive system, but we are having lots of trouble getting it to run right. Does anyone know the right code to use for hte robot in tank drive so we can figure out of its the code or if its the joystick. thanks
![]() |
|
#2
|
|||||
|
|||||
|
Re: Tank Drive help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
We can't read minds (as much as we try). Give us the code your using and we might be able to help you.
|
|
#3
|
|||
|
|||
|
Re: Tank Drive help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Well we have
pwm01 = p1_y pwm02 = 255 - p2_y the joysticks are in port 1 and port 2 Does that help? |
|
#4
|
|||
|
|||
|
Re: Tank Drive help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
i think that shoudl work fine, watch out for the trims on your joysticks. Maybe try printing them out, sometimes that helps
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drive Straight C Code using Encoders without PID? | Chris_Elston | Programming | 17 | 15-02-2005 23:41 |
| Tank Drive | Idaman323 | Programming | 14 | 15-02-2005 09:01 |
| Major problems with tank tread drive | Lord Nerdlinger | Technical Discussion | 13 | 23-02-2004 21:15 |
| Swerve/crab drive and tank turning | activemx | Technical Discussion | 9 | 23-02-2004 18:26 |
| tank drive | Stormhammer | Programming | 11 | 29-01-2004 23:08 |