mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[commands] Add requirements parameter to Commands.idle() (#5774)
This commit is contained in:
@@ -33,10 +33,11 @@ CommandPtr None();
|
||||
/**
|
||||
* Constructs a command that does nothing until interrupted.
|
||||
*
|
||||
* @param requirements Subsystems to require
|
||||
* @return the command
|
||||
*/
|
||||
[[nodiscard]]
|
||||
CommandPtr Idle();
|
||||
CommandPtr Idle(Requirements requirements = {});
|
||||
|
||||
// Action Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user