WardIagnemmaFriction.h
Go to the documentation of this file.
1 /*+-------------------------------------------------------------------------+
2  | MultiVehicle simulator (libmvsim) |
3  | |
4  | Copyright (C) 2017 Borys Tymchenko |
5  | Odessa National Polytechnic University |
6  | Distributed under 3-clause BSD License |
7  | See COPYING |
8  +-------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
14 
15 #include <vector>
16 
17 namespace mvsim
18 {
26 {
28  public:
30  VehicleBase& my_vehicle, const rapidxml::xml_node<char>* node);
31 
32  // See docs in base class.
33  virtual mrpt::math::TVector2D evaluate_friction(
34  const FrictionBase::TFrictionInput& input) const override;
35 
36  private:
37  double mu_;
38  double C_damping_ = 0.01;
39 
40  double A_roll_ = 50.0, R1_ = 0.0075, R2_ = 0.02;
41 };
42 } // namespace mvsim
WardIagnemmaFriction(VehicleBase &my_vehicle, const rapidxml::xml_node< char > *node)
double C_damping_
For wheels "internal friction" (N*m*s/rad)
virtual mrpt::math::TVector2D evaluate_friction(const FrictionBase::TFrictionInput &input) const override
#define DECLARES_REGISTER_FRICTION(CLASS_NAME)
Definition: FrictionBase.h:79
double mu_
friction coeficient (non-dimensional)


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:21