|
MVSim
Lightweight simulator for 2.5D vehicles and robots
|
#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 |
Public Member Functions inherited from mvsim::FrictionBase | |
| FrictionBase (VehicleBase &my_vehicle) | |
| bool | hasLogger () const |
| void | setLogger (const std::weak_ptr< CSVLogger > &logger) |
Public Attributes | |
| const TParameterDefinitions | params_ |
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 | |
| World * | world_ |
| VehicleBase & | myVehicle_ |
| std::optional< std::weak_ptr< CSVLogger > > | logger_ |
The default friction model for interaction between each wheel-ground contact point.
|
overridevirtual |
Evaluates the net force on this wheel (in vehicle local coordinates). Refer to the manual for the theorical model.
Implements mvsim::FrictionBase.
| const TParameterDefinitions mvsim::DefaultFriction::params_ |