Class BasicFlywheel¶
Defined in File basic_flywheel.hpp
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public motor::ISpeedWheel
Derived Type¶
public fang::turret::M3508BasicFlywheel(Class M3508BasicFlywheel)
Class Documentation¶
-
class BasicFlywheel : public virtual motor::ISpeedWheel¶
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.
Subclassed by fang::turret::M3508BasicFlywheel
Public Types
-
using Motor = motor::ISpeedMotor¶
Public Functions
-
virtual ~BasicFlywheel() = default¶
-
void setTargetRimSpeed(const MetersPerSecond &rimSpeed) override¶
-
void initialize() override¶
-
void update() override¶
-
struct Config¶
-
using Motor = motor::ISpeedMotor¶