#include <flywheel_commands.h>
AutoCommand that listens to the Flywheel and waits until it is at its target speed +/- the specified threshold
◆ WaitUntilUpToSpeedCommand()
WaitUntilUpToSpeedCommand::WaitUntilUpToSpeedCommand |
( |
Flywheel & | flywheel, |
|
|
int | threshold_rpm ) |
Creat a WaitUntilUpToSpeedCommand
- Parameters
-
flywheel | the flywheel system we are commanding |
threshold_rpm | the threshold over and under the flywheel target RPM that we define to be acceptable |
◆ run()
bool WaitUntilUpToSpeedCommand::run |
( |
| ) |
|
|
override |
Run spin_manual Overrides run from AutoCommand
- Returns
- true when execution is complete, false otherwise
The documentation for this class was generated from the following files: