|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
Abstract interface for a robot chassis. More...
#include <chassis_subsystem_interface.hpp>


Public Member Functions | |
| ChassisSubsystemInterface (Drivers *drivers) | |
| virtual int | getNumChassisMotors () const =0 |
| virtual bool | allMotorsOnline () const =0 |
| virtual modm::Matrix< float, 3, 1 > | getActualVelocityChassisRelative () 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 |
Static Public Member Functions | |
| static void | getVelocityWorldRelative (modm::Matrix< float, 3, 1 > &chassisRelativeVelocity, float chassisHeading) |
Additional Inherited Members | |
Protected Attributes inherited from tap::control::Subsystem | |
| Drivers * | drivers |
Abstract interface for a robot chassis.
|
inline |
|
inlinepure virtual |
true iff all motors are online
|
pure virtual |
|
inlinepure virtual |
|
inlinestatic |
Transforms the chassis relative velocity of the form <vx, vy, vz> (where z is an orientation) into world relative frame, given some particular chassis heading (z direction, assumed to be in radians). Transforms the input matrix chassisRelativeVelocity. Units: m/s