MCU
Loading...
Searching...
No Matches
Private Member Functions | List of all members
DumbController Class Reference

#include <state_machine_test.h>

Inheritance diagram for DumbController:
Inheritance graph
Collaboration diagram for DumbController:
Collaboration graph

Private Member Functions

TorqueControllerOutput_s evaluate (const SharedCarState_s &state)
 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...
 

Additional Inherited Members

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...
 

Detailed Description

Definition at line 8 of file state_machine_test.h.

Member Function Documentation

◆ evaluate()

TorqueControllerOutput_s DumbController::evaluate ( const SharedCarState_s state)
inlineprivatevirtual

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.

Parameters
statewith all sensor information to properly define torque set points
Returns
TorqueControllerOutput_s This is a Drivetrain command passed along with a state boolean to ensure car controllers are working properly

Implements Controller.

Definition at line 10 of file state_machine_test.h.

10{ return {}; }

The documentation for this class was generated from the following file: