mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[templates] Add bindings to command-based template (#4838)
This commit is contained in:
@@ -16,6 +16,14 @@ class ExampleSubsystem : public frc2::SubsystemBase {
|
||||
*/
|
||||
frc2::CommandPtr ExampleMethodCommand();
|
||||
|
||||
/**
|
||||
* An example method querying a boolean state of the subsystem (for example, a
|
||||
* digital sensor).
|
||||
*
|
||||
* @return value of some boolean subsystem state, such as a digital sensor.
|
||||
*/
|
||||
bool ExampleCondition();
|
||||
|
||||
/**
|
||||
* Will be called periodically whenever the CommandScheduler runs.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user