![]() |
Victors in reverse not responding.
Hi there!
I'm one of the programming mentors for Team 1796 and we're encountering a problem with our Victors not responding when trying to go in reverse; the Victors respond moving forward. I've included a scaled down base code that still won't work. I know there must be something simple I'm missing...what is it??? Thanks in advance, everyone! Code:
package org.team1796; |
Re: Victors in reverse not responding.
What do the LEDs on the Victors do when you command reverse?
|
Re: Victors in reverse not responding.
the LED's don't change (remains orange).
|
Re: Victors in reverse not responding.
If button 4 is pressed but not the trigger button, then claw 1 and 2 will be set to -1 and then immediately overwritten by 0 based on the trigger button if statement.
A nested if - else if - else structure is what you need. |
Re: Victors in reverse not responding.
of course! a million thank you's!!!!!
|
| All times are GMT -5. The time now is 22:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi