#include <ControllerBase.h>
Public Member Functions | |
virtual void | clearLogs () |
virtual void | control_step (const typename VEH_DYNAMICS::TControllerInput &ci, typename VEH_DYNAMICS::TControllerOutput &co)=0 |
ControllerBaseTempl (VEH_DYNAMICS &veh) | |
virtual void | load_config (const rapidxml::xml_node< char > &node) |
virtual void | newLogSession () |
virtual void | setLogRecording (bool recording) |
virtual void | teleop_interface (const TeleopInput &in, TeleopOutput &out) override |
virtual | ~ControllerBaseTempl () |
Public Member Functions inherited from mvsim::ControllerBaseInterface | |
virtual bool | setTwistCommand (const double vx, const double wz) |
Protected Attributes | |
VEH_DYNAMICS & | m_veh |
Virtual base for controllers of vehicles of any type (template)
Definition at line 46 of file ControllerBase.h.
|
inline |
Definition at line 49 of file ControllerBase.h.
|
inlinevirtual |
Definition at line 50 of file ControllerBase.h.
|
inlinevirtual |
Definition at line 107 of file ControllerBase.h.
|
pure virtual |
The core of the controller: will be called at each timestep before the numeric integration of dynamical eqs
|
inlinevirtual |
Override to load class-specific options from the <controller> node
Reimplemented in mvsim::DynamicsAckermannDrivetrain::ControllerFrontSteerPID, mvsim::DynamicsAckermann::ControllerFrontSteerPID, mvsim::DynamicsAckermannDrivetrain::ControllerTwistFrontSteerPID, mvsim::DynamicsAckermann::ControllerTwistFrontSteerPID, mvsim::DynamicsAckermannDrivetrain::ControllerRawForces, mvsim::DynamicsDifferential::ControllerTwistPID, and mvsim::DynamicsAckermann::ControllerRawForces.
Definition at line 99 of file ControllerBase.h.
|
inlinevirtual |
Definition at line 108 of file ControllerBase.h.
|
inlinevirtual |
Definition at line 103 of file ControllerBase.h.
|
inlineoverridevirtual |
This is to handle basic need of all the controllers.
Reimplemented from mvsim::ControllerBaseInterface.
Reimplemented in mvsim::DynamicsAckermannDrivetrain::ControllerFrontSteerPID, mvsim::DynamicsAckermann::ControllerFrontSteerPID, mvsim::DynamicsAckermannDrivetrain::ControllerTwistFrontSteerPID, mvsim::DynamicsAckermann::ControllerTwistFrontSteerPID, mvsim::DynamicsAckermannDrivetrain::ControllerRawForces, mvsim::DynamicsDifferential::ControllerTwistPID, mvsim::DynamicsAckermann::ControllerRawForces, and mvsim::DynamicsDifferential::ControllerRawForces.
Definition at line 52 of file ControllerBase.h.
|
protected |
Definition at line 111 of file ControllerBase.h.