Error 1: Differential Drive Output not updated Often Enough

When we run our code, Driver Station tells us that our “Differential Drive Output is not updated often enough.” How do we fix this?

Link to our code:

Thanks!

Looks like you’ve created a TeleopDriveCommand but never scheduled it anywhere. https://github.com/7614/2020CompetitionCode/blob/e1ce98343741ded64a87b095d22a2ca026483389/src/main/java/frc/robot/RobotContainer.java#L54

The error means you haven’t been giving signal to the DifferentialDrive.

okay but where do we schedule it then? We can’t find any documentation or examples that tell us where it goes

1 Like

Typically you should schedule that kind of a command as a default command using subsystem.setDefaultCommand(). one example