RIT VEXU Core API
Loading...
Searching...
No Matches
FlywheelStopMotorsCommand Class Reference

#include <flywheel_commands.h>

Inherits AutoCommand.

Public Member Functions

 FlywheelStopMotorsCommand (Flywheel &flywheel)
 
bool run () override
 

Detailed Description

AutoCommand wrapper class for the stopMotors function in the Flywheel class

Constructor & Destructor Documentation

◆ FlywheelStopMotorsCommand()

FlywheelStopMotorsCommand::FlywheelStopMotorsCommand ( Flywheel & flywheel)

Construct a FlywheeStopMotors Command

Parameters
flywheelthe flywheel system we are commanding

Member Function Documentation

◆ run()

bool FlywheelStopMotorsCommand::run ( )
override

Run stop Overrides run from AutoCommand

Returns
true when execution is complete, false otherwise

The documentation for this class was generated from the following files: