Drivetrain Stuttering with Safeties off


#1

So I’ve been struggling with trying to fix this drivetrain problem for a while now. Our Differential Drivetrain motor controllers keep stuttering, even with the safeties for both the drivetrain and the individual Talons turned off. I keep getting the error message

DifferentialDrive... Output not updated often enough.
Error at edu.wpi.first.wpilibj.MotorSafety.check(MotorSafety.java:101): DifferentialDrive... Output not updated often enough

Any suggestions? I’m probably just missing something obvious.

EDIT: I have my motor controller and drivetrain definitions inside my RobotMap, so that might be causing the problem.

EDIT 2: I discovered that I defined the same drivetrain in both my main Robot class and the RobotMap class, and they were conflicting with each other.