Class BasicFlywheel

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public motor::ISpeedWheel

Derived Type

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

BasicFlywheel(std::unique_ptr<Motor> motor, const Config &config)
virtual ~BasicFlywheel() = default
void setTargetRimSpeed(const MetersPerSecond &rimSpeed) override
void initialize() override
void update() override
struct Config

Public Members

Meters radius