2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
Swaps rolls of two controllers. Useful if one controller breaks during a match. More...
#include <swap_controllers_command.h>
Public Member Functions | |
SwapControllersCommand (SwappableControllersSubsystem *controllers) | |
void | Initialize () override |
Indicate swap has started, but don't actually swap yet. | |
void | End (bool) override |
Swap controllers when trigger ends. | |
Private Attributes | |
SwappableControllersSubsystem * | m_pControllerSubsystem |
Swaps rolls of two controllers. Useful if one controller breaks during a match.
|
explicit |
|
override |
Swap controllers when trigger ends.
|
override |
Indicate swap has started, but don't actually swap yet.
|
private |