Public Member Functions | Protected Attributes | List of all members
mvsim::ControllerBaseTempl< VEH_DYNAMICS > Class Template Referenceabstract

#include <ControllerBase.h>

Inheritance diagram for mvsim::ControllerBaseTempl< VEH_DYNAMICS >:
Inheritance graph
[legend]

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
 

Detailed Description

template<class VEH_DYNAMICS>
class mvsim::ControllerBaseTempl< VEH_DYNAMICS >

Virtual base for controllers of vehicles of any type (template)

Definition at line 46 of file ControllerBase.h.

Constructor & Destructor Documentation

template<class VEH_DYNAMICS >
mvsim::ControllerBaseTempl< VEH_DYNAMICS >::ControllerBaseTempl ( VEH_DYNAMICS &  veh)
inline

Definition at line 49 of file ControllerBase.h.

template<class VEH_DYNAMICS >
virtual mvsim::ControllerBaseTempl< VEH_DYNAMICS >::~ControllerBaseTempl ( )
inlinevirtual

Definition at line 50 of file ControllerBase.h.

Member Function Documentation

template<class VEH_DYNAMICS >
virtual void mvsim::ControllerBaseTempl< VEH_DYNAMICS >::clearLogs ( )
inlinevirtual

Definition at line 107 of file ControllerBase.h.

template<class VEH_DYNAMICS >
virtual void mvsim::ControllerBaseTempl< VEH_DYNAMICS >::control_step ( const typename VEH_DYNAMICS::TControllerInput &  ci,
typename VEH_DYNAMICS::TControllerOutput &  co 
)
pure virtual

The core of the controller: will be called at each timestep before the numeric integration of dynamical eqs

template<class VEH_DYNAMICS >
virtual void mvsim::ControllerBaseTempl< VEH_DYNAMICS >::load_config ( const rapidxml::xml_node< char > &  node)
inlinevirtual
template<class VEH_DYNAMICS >
virtual void mvsim::ControllerBaseTempl< VEH_DYNAMICS >::newLogSession ( )
inlinevirtual

Definition at line 108 of file ControllerBase.h.

template<class VEH_DYNAMICS >
virtual void mvsim::ControllerBaseTempl< VEH_DYNAMICS >::setLogRecording ( bool  recording)
inlinevirtual

Definition at line 103 of file ControllerBase.h.

template<class VEH_DYNAMICS >
virtual void mvsim::ControllerBaseTempl< VEH_DYNAMICS >::teleop_interface ( const TeleopInput in,
TeleopOutput out 
)
inlineoverridevirtual

Member Data Documentation

template<class VEH_DYNAMICS >
VEH_DYNAMICS& mvsim::ControllerBaseTempl< VEH_DYNAMICS >::m_veh
protected

Definition at line 111 of file ControllerBase.h.


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


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:52