|
MCU
|
Base class for all controllers, which define drivetrain command containing different variations of
More...
#include <BaseController.h>


Public Member Functions | |
| virtual TorqueControllerOutput_s | evaluate (const SharedCarState_s &state)=0 |
| This mehod must be implemented by every controller in the Tc Muxer. This is called in the Muxer whenever the drivetrain command is obtained. TorqueControllerMux.cpp to see that in every tick of the system, the active controller must be ticked through this method. More... | |
Base class for all controllers, which define drivetrain command containing different variations of
speed set points and necessary torque set points to be requested from the motors in order to achieve said speeds. required method(s): evaluate
Definition at line 17 of file BaseController.h.
|
pure virtual |
This mehod must be implemented by every controller in the Tc Muxer. This is called in the Muxer whenever the drivetrain command is obtained. TorqueControllerMux.cpp to see that in every tick of the system, the active controller must be ticked through this method.
| state | with all sensor information to properly define torque set points |
Implemented in DrivebrainController, DumbController, BaseLaunchController, TorqueControllerCASEWrapper< message_queue >, TorqueControllerLoadCellVectoring, TorqueControllerSimple, and TestControllerType.