Default Command

Hi CD, I have a little question, how do I set de initial deffault command in a subsytem in the new realease of the wpilib suite?

Thanks…

https://docs.wpilib.org/en/latest/docs/software/commandbased/subsystems.html#setting-default-commands

Or just do CommandScheduler.setDefaultCommand(command, subsystem);

You’re referring to documentation regarding the old Command-based framework. Documentation about setting default command in the new framework can be found here.

My bad, I linked the wrong one. Just edited to make it your link…

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.