#include <FrictionBase.h>
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 FrictionBase * | factory (VehicleBase &parent, const rapidxml::xml_node< char > *xml_node) |
Protected Attributes | |
std::weak_ptr< CSVLogger > | m_logger |
VehicleBase & | m_my_vehicle |
World * | m_world |
Virtual base class for all friction models
Definition at line 20 of file FrictionBase.h.
FrictionBase::FrictionBase | ( | VehicleBase & | my_vehicle | ) |
Definition at line 34 of file FrictionBase.cpp.
|
virtual |
Definition at line 39 of file FrictionBase.cpp.
|
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.
|
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.
|
protected |
Definition at line 67 of file FrictionBase.h.
|
protected |
Definition at line 64 of file FrictionBase.h.
|
protected |
Definition at line 63 of file FrictionBase.h.