#include <DefaultFriction.h>
Public Member Functions | |
DefaultFriction (VehicleBase &my_vehicle, const rapidxml::xml_node< char > *node) | |
virtual mrpt::math::TVector2D | evaluate_friction (const FrictionBase::TFrictionInput &input) const override |
![]() | |
FrictionBase (VehicleBase &my_vehicle) | |
void | setLogger (const std::weak_ptr< CSVLogger > &logger) |
virtual | ~FrictionBase () |
Public Attributes | |
const TParameterDefinitions | params_ |
Private Attributes | |
double | C_damping_ |
For wheels "internal friction" (N*m*s/rad) More... | |
double | mu_ |
friction coeficient (non-dimensional) More... | |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr< FrictionBase > |
![]() | |
static FrictionBase::Ptr | factory (VehicleBase &parent, const rapidxml::xml_node< char > *xml_node) |
![]() | |
std::weak_ptr< CSVLogger > | logger_ |
VehicleBase & | myVehicle_ |
World * | world_ |
The default friction model for interaction between each wheel-ground contact point. No rolling resistance.
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 vehicle local coordinates). Refer to the manual for the theorical model.
Implements mvsim::FrictionBase.
Definition at line 36 of file DefaultFriction.cpp.
|
private |
For wheels "internal friction" (N*m*s/rad)
Definition at line 36 of file DefaultFriction.h.
|
private |
friction coeficient (non-dimensional)
Definition at line 35 of file DefaultFriction.h.
const TParameterDefinitions mvsim::DefaultFriction::params_ |
Definition at line 39 of file DefaultFriction.h.