MCU
Loading...
Searching...
No Matches
fake_controller_type.h
Go to the documentation of this file.
1#ifndef __FAKE_CONTROLLER_TYPE_H__
2#define __FAKE_CONTROLLER_TYPE_H__
3#include "BaseController.h"
5{
6};
7
8class TestControllerType : public virtual Controller
9{
10
11public:
13 TorqueControllerOutput_s evaluate(const SharedCarState_s &state) override { return output; }
14};
15#endif // __FAKE_CONTROLLER_TYPE_H__
Base class for all controllers, which define drivetrain command containing different variations of
TorqueControllerOutput_s evaluate(const SharedCarState_s &state) override
This mehod must be implemented by every controller in the Tc Muxer. This is called in the Muxer whene...
TorqueControllerOutput_s output
car state struct that contains state of everything about the car including
Packages drivetrain command with ready boolean to give feedback on controller successfully evaluating...