58 mrpt::math::TPoint2D& out_result_force_local)
const = 0;
60 void setLogger(
const std::weak_ptr<CSVLogger>& logger);
66 MRPT_TODO(
"When each wheel will have its own friction - remove this.")
78 #define DECLARES_REGISTER_FRICTION(CLASS_NAME) \ 79 DECLARES_REGISTER_CLASS2( \ 80 CLASS_NAME, FrictionBase, VehicleBase&, \ 81 const rapidxml::xml_node<char>*) 83 #define REGISTER_FRICTION(TEXTUAL_NAME, CLASS_NAME) \ 85 TClassFactory_friction, classFactory_friction, TEXTUAL_NAME, \
std::weak_ptr< CSVLogger > m_logger
std::shared_ptr< FrictionBase > FrictionBasePtr
FrictionBase(VehicleBase &my_vehicle)
static FrictionBase * factory(VehicleBase &parent, const rapidxml::xml_node< char > *xml_node)
virtual void evaluate_friction(const FrictionBase::TFrictionInput &input, mrpt::math::TPoint2D &out_result_force_local) const =0
TClassFactory_friction classFactory_friction
void setLogger(const std::weak_ptr< CSVLogger > &logger)
VehicleBase & m_my_vehicle