View Single Post
  #2   Spotlight this post!  
Unread 25-10-2016, 12:24
Jaci's Avatar
Jaci Jaci is online now
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 257
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

If you're just testing the functionality of your robot code during a temporary loss of control:

Put all your robot control code inside of a common periodic method that is called from all states (i.e. DisabledPeriodic, TeleopPeriodic) and temporarily have a codriver switch the robot to and from disabled mode. Disabled mode is almost identical to a brownout in that actuators do not receive power however most sensors do.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote