|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <basic_flywheel.hpp>


Classes | |
| struct | Config |
Public Types | |
| using | Motor = motor::ISpeedMotor |
Public Member Functions | |
| BasicFlywheel (std::unique_ptr< Motor > motor, const Config &config) | |
| virtual | ~BasicFlywheel ()=default |
| void | setTargetRimSpeed (const MetersPerSecond &rimSpeed) override |
| void | initialize () override |
| void | update () override |
This is meant to abstract a single flywheel of a given radius. It's update function must be periodically called in order for the motor to be called. This is not a taproot subsystem, it is meant to not be used by taproot's command scheduler. This is to provide the turret subsystem a "subsubsystem", which is not supported by taproot.
| fang::turret::BasicFlywheel::BasicFlywheel | ( | std::unique_ptr< Motor > | motor, |
| const Config & | config | ||
| ) |
|
virtualdefault |
|
override |
|
override |
|
override |