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 45 of file ControllerBase.h.

Constructor & Destructor Documentation

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

Definition at line 48 of file ControllerBase.h.

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

Definition at line 49 of file ControllerBase.h.

Member Function Documentation

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

Definition at line 105 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 106 of file ControllerBase.h.

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

Definition at line 101 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 108 of file ControllerBase.h.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:41