Package xbot.common.controls.actuators
Class XCANMotorControllerFactoryImpl
java.lang.Object
xbot.common.controls.actuators.XCANMotorControllerFactoryImpl
- All Implemented Interfaces:
XCANMotorController.XCANMotorControllerFactory
@Singleton
public class XCANMotorControllerFactoryImpl
extends Object
implements XCANMotorController.XCANMotorControllerFactory
-
Constructor Summary
ConstructorDescriptionXCANMotorControllerFactoryImpl
(CANTalonFxWpiAdapter.CANTalonFxWpiAdapterFactory talonFxFactory, CANSparkMaxWpiAdapter.CANSparkMaxWpiAdapterFactory sparkMaxFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(CANMotorControllerInfo info, String owningSystemPrefix, String pidPropertyPrefix, XCANMotorControllerPIDProperties defaultPIDProperties) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface xbot.common.controls.actuators.XCANMotorController.XCANMotorControllerFactory
create
-
Constructor Details
-
XCANMotorControllerFactoryImpl
@Inject public XCANMotorControllerFactoryImpl(CANTalonFxWpiAdapter.CANTalonFxWpiAdapterFactory talonFxFactory, CANSparkMaxWpiAdapter.CANSparkMaxWpiAdapterFactory sparkMaxFactory)
-
-
Method Details
-
create
public XCANMotorController create(CANMotorControllerInfo info, String owningSystemPrefix, String pidPropertyPrefix, XCANMotorControllerPIDProperties defaultPIDProperties) - Specified by:
create
in interfaceXCANMotorController.XCANMotorControllerFactory
-