We are trying to create a MecanumDrive but the constructor only accepts speed controllers and we can’t cast our talons to those. Help!
Java?
In both C++ and Java, CTRE provides a WPI_TalonSRX and WPI_VictorSPX object that uses WPILib compatible interfaces that can be passed to MecanumDrive. Just instantiate the motor controllers as such after importing and it should work just fine.
Hope this helps!
1 Like