public class FtcEventLoop.DefaultUsbModuleAttachmentHandler extends java.lang.Object implements UsbModuleAttachmentHandler
| Constructor and Description |
|---|
FtcEventLoop.DefaultUsbModuleAttachmentHandler() |
| 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.
|
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.
|
public FtcEventLoop.DefaultUsbModuleAttachmentHandler()
public void handleUsbModuleAttach(RobotUsbModule module)
throws RobotCoreException,
java.lang.InterruptedException
UsbModuleAttachmentHandlerhandleUsbModuleAttach in interface UsbModuleAttachmentHandlermodule - the module which is newly attachedRobotCoreExceptionjava.lang.InterruptedExceptionpublic void handleUsbModuleDetach(RobotUsbModule module)
throws RobotCoreException,
java.lang.InterruptedException
UsbModuleAttachmentHandlerhandleUsbModuleDetach in interface UsbModuleAttachmentHandlermodule - the module which has become disconnectedRobotCoreExceptionjava.lang.InterruptedException