Log in

View Full Version : Robot Stops Drive Control Without Being Programmed


OB1
03-03-2012, 21:18
For some reason, while we are holding a specific button (button 2 on left drive joystick) the command for driving stops. The odd part about this is we don't have that button programmed in. Additionally we have a command for auto balancing that only works when the button that isn't programmed(button 2) and the programmed button (button 3 on left drive joystick) are held. Any assistance in this would be appreciated. Thank you for the help.

Dusk Star
03-03-2012, 21:23
Could you post your code? It is hard to debug that which you cannot see...

Sunstroke
04-03-2012, 01:48
If you are running the SmartDashboard, I recommend you put:
SmartDashboard.putData(Scheduler.getInstance());
somewhere in your code. That way, you can see what commands are running on the robot, and see if one is taking over when the button is held.