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:


Looks like you’ve created a TeleopDriveCommand but never scheduled it anywhere.

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