public class LynxModuleWarningManager
extends java.lang.Object
Constructor and Description |
---|
LynxModuleWarningManager() |
Modifier and Type | Method and Description |
---|---|
static LynxModuleWarningManager |
getInstance() |
void |
init(OpModeManagerImpl opModeManager,
HardwareMap hardwareMap)
Called on Robot startup
|
void |
reportModuleLowBattery(LynxModule module) |
void |
reportModuleReset(LynxModule module) |
void |
reportModuleUnresponsive(LynxModule module)
Unlike
LynxModule.noteNotResponding() , this method should be called repeatedly while
the module is unresponsive. |
public static LynxModuleWarningManager getInstance()
public void init(OpModeManagerImpl opModeManager, HardwareMap hardwareMap)
public void reportModuleUnresponsive(LynxModule module)
LynxModule.noteNotResponding()
, this method should be called repeatedly while
the module is unresponsive. This is so that we can keep track of if the module was ever
unresponsive while a user Op Mode was running.public void reportModuleReset(LynxModule module)
public void reportModuleLowBattery(LynxModule module)