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


Public Member Functions | |
| TurretSubsystemInterface (Drivers *drivers) | |
| virtual float | getYawSetpoint () const =0 |
| virtual float | getPitchSetpoint () const =0 |
| virtual void | setYawSetpoint (float newAngle)=0 |
| virtual void | setPitchSetpoint (float newAngle)=0 |
| virtual const tap::algorithms::WrappedFloat & | getCurrentYawValue () const =0 |
| virtual const tap::algorithms::WrappedFloat & | getCurrentPitchValue () const =0 |
| virtual bool | isOnline () const =0 |
| virtual float | getYawVelocity () const =0 |
| virtual float | getPitchVelocity () const =0 |
| virtual float | getYawAngleFromCenter () const =0 |
| virtual float | getPitchAngleFromCenter () const =0 |
| virtual void | setYawMotorOutput (float out)=0 |
| virtual void | setPitchMotorOutput (float out)=0 |
| virtual bool | yawLimited () const =0 |
Public Member Functions inherited from tap::control::Subsystem | |
| Subsystem (Drivers *drivers) | |
| virtual | ~Subsystem () |
| virtual void | initialize () |
| void | registerAndInitialize () |
| mockable void | setDefaultCommand (Command *defaultCommand) |
| mockable Command * | getDefaultCommand () const |
| virtual void | refresh () |
| virtual void | refreshSafeDisconnect () |
| mockable void | setTestCommand (Command *testCommand) |
| mockable Command * | getTestCommand () const |
| virtual const char * | getName () const |
| mockable int | getGlobalIdentifier () const |
Additional Inherited Members | |
Protected Attributes inherited from tap::control::Subsystem | |
| Drivers * | drivers |
Interface for a generic turret motor with a pitch and yaw motor.
|
inlineexplicit |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinepure virtual |
|
inlinepure virtual |
|
pure virtual |
|
inlinepure virtual |
|
inlinepure virtual |
|
inlinepure virtual |
true if the turret is online (i.e.: is connected)
|
pure virtual |
|
pure virtual |
|
pure virtual |
Sets yaw motor output. Limits the output based on the mechanical constraints of the turret.
|
pure virtual |
Sets the desired yaw position of the turret.
| [in] | newValue | the new desired value the turret will try and reach |
|
pure virtual |
If false, the turret may spin 360 degrees freely, otherwise true.