9namespace motorcontrol {
21 _mcs.push_back(motorController);
49 std::vector<IMotorController*> _mcs;
Class to keep track of multiple devices.
Definition: DeviceCatalog.h:14
DeviceCatalog & GetInstance()
Definition: DeviceCatalog.h:43
void Register(IMotorController *motorController)
Add motor controller to catalog.
Definition: DeviceCatalog.h:20
size_t MotorControllerCount()
Definition: DeviceCatalog.h:27
IMotorController * Get(int idx)
Get motor controller at index.
Definition: DeviceCatalog.h:36
Interface for motor controllers.
Definition: IMotorController.h:35
namespace ctre
Definition: paramEnum.h:5