Classes | Public Member Functions | Static Public Member Functions | Protected Attributes
mvsim::FrictionBase Class Reference

#include <FrictionBase.h>

Inheritance diagram for mvsim::FrictionBase:
Inheritance graph
[legend]

List of all members.

Classes

struct  TFrictionInput

Public Member Functions

virtual void evaluate_friction (const FrictionBase::TFrictionInput &input, mrpt::math::TPoint2D &out_result_force_local) const =0
 FrictionBase (VehicleBase &my_vehicle)
void setLogger (const std::weak_ptr< CSVLogger > &logger)
virtual ~FrictionBase ()

Static Public Member Functions

static FrictionBasefactory (VehicleBase &parent, const rapidxml::xml_node< char > *xml_node)

Protected Attributes

std::weak_ptr< CSVLoggerm_logger
VehicleBasem_my_vehicle
Worldm_world

Detailed Description

Virtual base class for all friction models

Definition at line 20 of file FrictionBase.h.


Constructor & Destructor Documentation

Definition at line 34 of file FrictionBase.cpp.

Definition at line 39 of file FrictionBase.cpp.


Member Function Documentation

virtual void mvsim::FrictionBase::evaluate_friction ( const FrictionBase::TFrictionInput input,
mrpt::math::TPoint2D &  out_result_force_local 
) const [pure virtual]

Evaluates the net force on this wheel (in local coordinates). Refer to the manual for the theorical model.

Implemented in mvsim::WardIagnemmaFriction, and mvsim::DefaultFriction.

FrictionBase * FrictionBase::factory ( VehicleBase parent,
const rapidxml::xml_node< char > *  xml_node 
) [static]

Class factory: Creates a friction object from XML description of type "<friction>...</friction>".

Definition at line 40 of file FrictionBase.cpp.

void FrictionBase::setLogger ( const std::weak_ptr< CSVLogger > &  logger)

Definition at line 62 of file FrictionBase.cpp.


Member Data Documentation

std::weak_ptr<CSVLogger> mvsim::FrictionBase::m_logger [protected]

Definition at line 67 of file FrictionBase.h.

Definition at line 64 of file FrictionBase.h.

Definition at line 63 of file FrictionBase.h.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 22:08:35