Help with Speed Controller Groups

Using talons, I have tried putting my drive motors into a speed controller group. The differential drive line works but, the speed controller groups lines give me an error. It says that they are undefined.
what do I do?

Did you declare the two variables as SpeedControllerGroup’s?

Do not use the TalonSRX class. It doesn’t have any integration with the WPILib framework.

Use the WPI_TalonSRX class instead.

3 Likes

yes i have

yes, do this

Thank you so much!!

If you want to still use the TalonSRX class from RevRobotics you can use the .follow() and/or .setInverted() methods to link motors together

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.