|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||
|
||||
|
Re: Robot Stops Drive Control Without Being Programmed
Could you post your code? It is hard to debug that which you cannot see...
|
|
#3
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|