#include <FrictionBase.h>
Classes | |
struct | TFrictionInput |
Public Types | |
using | Ptr = std::shared_ptr< FrictionBase > |
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::Ptr | 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.
using mvsim::FrictionBase::Ptr = std::shared_ptr<FrictionBase> |
Definition at line 23 of file FrictionBase.h.
FrictionBase::FrictionBase | ( | VehicleBase & | my_vehicle | ) |
Definition at line 37 of file FrictionBase.cpp.
|
virtual |
Definition at line 42 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 43 of file FrictionBase.cpp.
Definition at line 65 of file FrictionBase.cpp.
|
protected |
Definition at line 68 of file FrictionBase.h.
|
protected |
Definition at line 66 of file FrictionBase.h.
|
protected |
Definition at line 65 of file FrictionBase.h.