Package xbot.common.injection.modules
Class RealDevicesModule
java.lang.Object
xbot.common.injection.modules.RealDevicesModule
Module for mapping device interfaces to real hardware.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract XAnalogInput.XAnalogInputFactory
abstract XCANCoder.XCANCoderFactory
abstract XCompressor.XCompressorFactory
abstract XDigitalInput.XDigitalInputFactory
abstract XDigitalOutput.XDigitalOutputFactory
abstract XEncoder.XEncoderFactory
abstract XGyro.XGyroFactory
abstract XLidarLite.XLidarLiteFactory
getPowerDistributionPanelFactory
(PowerDistributionPanelWPIAdapter.PowerDistributionPanelWPIAdapaterFactory impl) abstract XPWM.XPWMFactory
abstract XRelay.XRelayFactory
abstract XServo.XServoFactory
abstract XSolenoid.XSolenoidFactory
-
Constructor Details
-
RealDevicesModule
public RealDevicesModule()
-
-
Method Details
-
getPowerDistributionPanelFactory
@Binds @Singleton public abstract XPowerDistributionPanel.XPowerDistributionPanelFactory getPowerDistributionPanelFactory(PowerDistributionPanelWPIAdapter.PowerDistributionPanelWPIAdapaterFactory impl) -
getAnalogInputFactory
@Binds @Singleton public abstract XAnalogInput.XAnalogInputFactory getAnalogInputFactory(AnalogInputWPIAdapater.AnalogInputWPIAdapaterFactory impl) -
getDigitalInputFactory
@Binds @Singleton public abstract XDigitalInput.XDigitalInputFactory getDigitalInputFactory(DigitalInputWPIAdapter.DigitalInputWPIAdapterFactory impl) -
getDigitalOutputFactory
@Binds @Singleton public abstract XDigitalOutput.XDigitalOutputFactory getDigitalOutputFactory(DigitalOutputWPIAdapter.DigitalOutputWPIAdapterFactory impl) -
getPwmFactory
@Binds @Singleton public abstract XPWM.XPWMFactory getPwmFactory(PWMWPIAdapter.PWMWPIAdapterFactory impl) -
getCompressorFactory
@Binds @Singleton public abstract XCompressor.XCompressorFactory getCompressorFactory(CompressorWPIAdapter.CompressorWPIAdapterFactory impl) -
getGyroFactory
@Binds @Singleton public abstract XGyro.XGyroFactory getGyroFactory(InertialMeasurementUnitAdapter.InertialMeasurementUnitAdapterFactory impl) -
getServoFactory
@Binds @Singleton public abstract XServo.XServoFactory getServoFactory(ServoWPIAdapter.ServoWPIAdapterFactory impl) -
getAnalogDistanceSensorFactory
@Binds @Singleton public abstract XAnalogDistanceSensor.XAnalogDistanceSensorFactory getAnalogDistanceSensorFactory(AnalogDistanceSensor.AnalogDistanceSensorFactory impl) -
getMotorControllerFactory
@Binds @Singleton public abstract XCANMotorController.XCANMotorControllerFactory getMotorControllerFactory(XCANMotorControllerFactoryImpl impl) -
getLidarLiteFactory
@Binds @Singleton public abstract XLidarLite.XLidarLiteFactory getLidarLiteFactory(LidarLiteWpiAdapter.LidarLiteWpiAdapterFactory impl) -
getEncoderFactory
@Binds @Singleton public abstract XEncoder.XEncoderFactory getEncoderFactory(EncoderWPIAdapter.EncoderWPIAdapterFactory impl) -
getAbsoluteEncoderFactory
@Binds @Singleton public abstract XAbsoluteEncoder.XAbsoluteEncoderFactory getAbsoluteEncoderFactory(CANCoderAdapter.CANCoderAdapterFactory impl) -
getCANCoderFactory
@Binds @Singleton public abstract XCANCoder.XCANCoderFactory getCANCoderFactory(CANCoderAdapter.CANCoderAdapterFactory impl) -
getSolenoidFactory
@Binds @Singleton public abstract XSolenoid.XSolenoidFactory getSolenoidFactory(SolenoidWPIAdapter.SolenoidWPIAdapterFactory impl) -
getRelayFactory
@Binds @Singleton public abstract XRelay.XRelayFactory getRelayFactory(RelayWPIAdapter.RelayWPIAdapterFactory impl) -
getSpeedControllerFactory
@Binds @Singleton public abstract XSpeedController.XSpeedControllerFactory getSpeedControllerFactory(SpeedControllerWPIAdapter.SpeedControllerWPIAdapterFactory impl) -
getZeromqListenerFactory
@Binds @Singleton public abstract XZeromqListener.XZeromqListenerFactory getZeromqListenerFactory(ZeromqListener.ZeromqListenerFactory impl) -
getDutyCycleEncoderFactory
@Binds @Singleton public abstract XDutyCycleEncoder.XDutyCycleEncoderFactory getDutyCycleEncoderFactory(DutyCycleEncoderWpiAdapter.DutyCycleEncoderWpiAdapterFactory impl)
-