A swerve drive base code using SDS MK4 Modules, Neos, and SRX Mag Encoders. Fully working and updated for 2023. Designed for our 2023 Robot, Continuity, that features a elevator and grabber combo. Pathplanner support is currently being removed for my own auto implementation ...
joystick=newXboxController(0);privateTalonSRXcontroller2=newTalonSRX(10);privateTalonSRXcontroller1=newTalonSRX(11);publicstaticfinalintkPIDLoopIdx=0;publicstaticfinalintkTimeoutMs=30;@OverridepublicvoidrobotInit(){controller1.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Absolute,kPIDLoop...