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

#include <flywheel_commands.h>

Inherits AutoCommand.

Public Member Functions

 SpinRPMCommand (Flywheel &flywheel, int rpm)
 
bool run () override
 

Detailed Description

File: flywheel_commands.h Desc: [insert meaningful desc] AutoCommand wrapper class for the spin_rpm function in the Flywheel class

Constructor & Destructor Documentation

◆ SpinRPMCommand()

SpinRPMCommand::SpinRPMCommand ( Flywheel & flywheel,
int rpm )

Construct a SpinRPM Command

Parameters
flywheelthe flywheel sys to command
rpmthe rpm that we should spin at

File: flywheel_commands.cpp Desc: [insert meaningful desc]

Member Function Documentation

◆ run()

bool SpinRPMCommand::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: