Can you make a default command with two subsystems?

Exactly the title. I was wondering if I can make a default command that has two required subsystems. For example, can I have a default command that has something like both the drive and arm?

If you did, when it started it would kill whatever command was running on the other subsystem automatically. If that’s what you want, it might make more sense to make one subsystem as the union of both your current subsystems.

Also note that if any command only required the second, it would kill the default command running on the first, which would then restart, killing the command you actually wanted to run!

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