Code not working, I do not know why

Hello, I recently started learning how to code FRC robots and was about to finish my first program, but then I got these errors. There is nothing outside of this besides the defaults in my RobotContainer file. Am I missing something?

This is rarely true and not posting the complete code makes answers more like guesses. So I’ll guess you need a run or runOnce around your lambda expression to turn a runnable into a command.

could you share the code of ArmCMD?

ArmCmd.java (1.4 KB)

This is the whole file

The constructor arguments are in the wrong order. In Java, the order of arguments matter. Your constructor is defined as Supplier,Supplier,Subsystem, but youre passing in Subsystem,Supplier,Supplier

4 Likes