![]() |
Robot going backwards!
I've put the line tracking code into my robot, but it keeps going backwards whether I invert the motors or not. Could this be because it uses arcadeDrive while the rest of my code uses tankDrive? If so, how can I fix it? If not, what else could it be and how can I fix it?
|
Re: Robot going backwards!
Quote:
|
Re: Robot going backwards!
Do you mean that I should be able to use the arcade drive thing anyway? Or do I need to change that?
|
Re: Robot going backwards!
Quote:
The use of the arcade vs. tank functions don't stick, they just set the speeds at that moment based on the parameters passed. |
Re: Robot going backwards!
Quote:
I didn't think that the use of arcade vs. tank would matter, but I wanted to make sure. Do you have any other suggestions? |
Re: Robot going backwards!
If you are changing each of these things (only one at a time, I hope, since changing both would double negate and wind back up where you started), then perhaps we need to consider that you are changing the code in the wrong place. Can you post the code you're using and note where you and making these changes?
-Joe |
| All times are GMT -5. The time now is 22:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi