Team2168 / 2014_Main_Robot

Code for the 2014 FRC season.
Other
2 stars 1 forks source link

Fix WinchWithJoystick #55

Closed jcorcoran closed 10 years ago

jcorcoran commented 10 years ago

https://github.com/Team2168/FRC2014_Main_Robot/blob/master/src/org/team2168/commands/WinchWithJoystick.java#L29

In the execute command, need an else statement that will set the winch speed to zero when the stick isn't being run in the down direction. As is, this code will just keep driving the winch (at the last speed it was run at) if the if statement condition doesn't evaluate true.