Issue with Commands Not Running

Hi,
I’m having some trouble getting commands to run on button presses. My RobotDrive works fine, and there are no problems controlling wheels, but when I try to run the winch with a command (whileHeld(new Climb()) ), nothing happens. No errors occur, no exceptions are caught, but the motor does not turn. Actually, the LED on the SPARK motor controller that runs it does not even change or respond in any way. I’ve eliminated the possibility of the controller being broken. Any clue what this could be?

Thanks in advance,
2523 Programmer

Please post your full robot code.

Imagine if someone asked this on CD:

I cut an aluminum piece but it doesn’t work on the robot. The length was 1.5. Please help?

Is this a helpful question?

We need more info. In the future, think about what we need to answer your questions.

Hey guys!

I have exactly the same problem.

The code is on github here

Thanks for helping

Eurêka!!

In teleopPeriodic, we have deleted this very important line

Scheduler.getInstance().run();