#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 |
Public Member Functions inherited from mvsim::FrictionBase | |
FrictionBase (VehicleBase &my_vehicle) | |
void | setLogger (const std::weak_ptr< CSVLogger > &logger) |
virtual | ~FrictionBase () |
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 | |
Static Public Member Functions inherited from mvsim::FrictionBase | |
static FrictionBase * | 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 21 of file DefaultFriction.h.
DefaultFriction::DefaultFriction | ( | VehicleBase & | my_vehicle, |
const rapidxml::xml_node< char > * | node | ||
) |
Definition at line 19 of file DefaultFriction.cpp.
|
virtual |
Evaluates the net force on this wheel (in local coordinates). Refer to the manual for the theorical model.
Implements mvsim::FrictionBase.
Definition at line 41 of file DefaultFriction.cpp.
|
private |
For wheels "internal friction" (N*m*s/rad)
Definition at line 35 of file DefaultFriction.h.
|
private |
friction coeficient (non-dimensional)
Definition at line 34 of file DefaultFriction.h.