Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Robot Stops Drive Control Without Being Programmed (http://www.chiefdelphi.com/forums/showthread.php?t=104156)

OB1 03-03-2012 21:18

Robot Stops Drive Control Without Being Programmed
 
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

Re: Robot Stops Drive Control Without Being Programmed
 
Could you post your code? It is hard to debug that which you cannot see...

Sunstroke 04-03-2012 01:48

Re: Robot Stops Drive Control Without Being Programmed
 
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.


All times are GMT -5. The time now is 03:01.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi