public interface UsbModuleAttachmentHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleUsbModuleAttach(RobotUsbModule module)
One of the hardware modules in the current robot configuration (such as a Modern Robotics
DC Motor Controller, a Modern Robotics Legacy Module, etc) is now newly attached to the
system (or so we think).
|
void |
handleUsbModuleDetach(RobotUsbModule module)
One of the hardware modules in the current robot configuration (such as a Modern Robotics
DC Motor Controller, a Modern Robotics Legacy Module, etc) has been disconnected from the
system.
|
void handleUsbModuleAttach(RobotUsbModule module)
throws RobotCoreException,
java.lang.InterruptedException
module - the module which is newly attachedRobotCoreExceptionjava.lang.InterruptedExceptionvoid handleUsbModuleDetach(RobotUsbModule module)
throws RobotCoreException,
java.lang.InterruptedException
module - the module which has become disconnectedRobotCoreExceptionjava.lang.InterruptedException