#include <DefaultFriction.h>
Public Member Functions | |
DefaultFriction (VehicleBase &my_vehicle, const rapidxml::xml_node< char > *node) | |
virtual void | evaluate_friction (const FrictionBase::TFrictionInput &input, mrpt::math::TPoint2D &out_result_force_local) const override |
Public Member Functions inherited from mvsim::FrictionBase | |
FrictionBase (VehicleBase &my_vehicle) | |
void | setLogger (const std::weak_ptr< CSVLogger > &logger) |
virtual | ~FrictionBase () |
Public Attributes | |
const TParameterDefinitions | m_params |
Private Attributes | |
double | m_C_damping |
For wheels "internal friction" (N*m*s/rad) More... | |
double | m_mu |
friction coeficient (non-dimensional) More... | |
Additional Inherited Members | |
Public Types inherited from mvsim::FrictionBase | |
using | Ptr = std::shared_ptr< FrictionBase > |
Static Public Member Functions inherited from mvsim::FrictionBase | |
static FrictionBase::Ptr | factory (VehicleBase &parent, const rapidxml::xml_node< char > *xml_node) |
Protected Attributes inherited from mvsim::FrictionBase | |
std::weak_ptr< CSVLogger > | m_logger |
VehicleBase & | m_my_vehicle |
World * | m_world |
The default friction model for interaction between each wheel-ground contact point
Definition at line 23 of file DefaultFriction.h.
DefaultFriction::DefaultFriction | ( | VehicleBase & | my_vehicle, |
const rapidxml::xml_node< char > * | node | ||
) |
Definition at line 20 of file DefaultFriction.cpp.
|
overridevirtual |
Evaluates the net force on this wheel (in local coordinates). Refer to the manual for the theorical model.
Implements mvsim::FrictionBase.
Definition at line 34 of file DefaultFriction.cpp.
|
private |
For wheels "internal friction" (N*m*s/rad)
Definition at line 37 of file DefaultFriction.h.
|
private |
friction coeficient (non-dimensional)
Definition at line 36 of file DefaultFriction.h.
const TParameterDefinitions mvsim::DefaultFriction::m_params |
Definition at line 40 of file DefaultFriction.h.