View Single Post
  #4   Spotlight this post!  
Unread 15-02-2015, 21:38
JacobD's Avatar
JacobD JacobD is offline
Registered User
AKA: Jacob
FRC #1672 (Mahwah Robo T-Birds)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: New Jersey
Posts: 91
JacobD is an unknown quantity at this point
Re: Disable robot from controller?

Quote:
Originally Posted by Ozuru View Post
If you want to be really, really ghetto you could map a button to a boolean (isDisabled) and just surround everything in teleop and autonomous with

Code:
if(!isDisabled) {

}
Now that I think about it, if you surround the scheduler parts with that it might actually work...although there won't be an easy way to re-enable it -- in that case, just put something in teleopPeriodic that's a toggle.
Before you try something like this, you might want to be careful because FIRST might give you problems when they see that. They have the enable/disable functionality for safety reasons. I understand that you might want to enable/disable from a wireless remote, but consider safety first.
Reply With Quote