Skip to content

Commit fcbe614

Browse files
committed
concepts: add section on Subsystem Groups and their usage in commands
1 parent 605be89 commit fcbe614

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/nextftc/concepts/subsystems.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,15 @@ public Command pivotRight = new SetPosition(pivotServo, 0.0).requires(pivotServo
104104
```
105105

106106
:::
107+
108+
## Subsystem Groups
109+
110+
NextFTC provides a `SubsystemGroup` class that can be used to group multiple
111+
subsystems into a single object.
112+
This is useful for commands that require
113+
multiple subsystems to be active at the same time.
114+
It can also be used to simplify the process of adding multiple
115+
subsystems to a `SubsystemComponent`.
116+
117+
For examples of SubsystemGroups,
118+
see the [corresponding guide page](../../guide/subsystems/groups-and-robot).

0 commit comments

Comments
 (0)