Skip to content

Commit fa4124d

Browse files
committed
Revert "fix Subsystem C++ class docs"
1 parent 471fca6 commit fa4124d

File tree

1 file changed

+6
-2
lines changed
  • wpilibNewCommands/src/main/native/include/frc2/command

1 file changed

+6
-2
lines changed

wpilibNewCommands/src/main/native/include/frc2/command/Subsystem.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ class CommandPtr;
2424
* subsystem should generally remain encapsulated and not be shared by other
2525
* parts of the robot.
2626
*
27-
* <p>Subsystems are automatically registered with the scheduler with the
27+
* <p>Subsystems must be registered with the scheduler with the
2828
* CommandScheduler.RegisterSubsystem() method in order for the
29-
* Periodic() method to be called.
29+
* Periodic() method to be called. It is recommended that this method be called
30+
* from the constructor of users' Subsystem implementations. The
31+
* SubsystemBase class offers a simple base for user implementations
32+
* that handles this.
3033
*
3134
* This class is provided by the NewCommands VendorDep
3235
*
3336
* @see Command
3437
* @see CommandScheduler
38+
* @see SubsystemBase
3539
*/
3640
class Subsystem {
3741
public:

0 commit comments

Comments
 (0)