Team2168 / 2015_Main_Robot

Source code for the 2015 season
2 stars 0 forks source link

Fix LiftDriveWithJoystick #57

Closed NotInControl closed 9 years ago

NotInControl commented 9 years ago

This command was modified to take commands from two joysticks for testing purposes. I don't think I want this to be in the completion code, Unless we find a cleaner way to map multiple joysticks to commands.

Please fix this line to just use operator stick https://github.com/Team2168/2015_Main_Robot/blob/master/src/org/team2168/commands/lift/LiftWithJoystick.java#L32

Also swap the Drive(0) and brake() commands in the else part, so that we stop the drive, before we apply the brake in the sequence of events.