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 GNU General Public License version 3 |
7  | See <http://www.gnu.org/licenses/> |
8  +-------------------------------------------------------------------------+ */
9 
10 #pragma once
11 
13 #include <vector>
15 
16 namespace mvsim
17 {
25 {
27  public:
29  VehicleBase& my_vehicle, const rapidxml::xml_node<char>* node);
30 
31  // See docs in base class.
32  virtual void evaluate_friction(
33  const FrictionBase::TFrictionInput& input,
34  mrpt::math::TPoint2D& out_result_force_local) const;
35 
36  private:
37  double m_mu;
38  double m_C_damping;
39  double m_A_roll, m_R1,
40  m_R2;
41 };
42 }
virtual void evaluate_friction(const FrictionBase::TFrictionInput &input, mrpt::math::TPoint2D &out_result_force_local) const
WardIagnemmaFriction(VehicleBase &my_vehicle, const rapidxml::xml_node< char > *node)
double m_C_damping
For wheels "internal friction" (N*m*s/rad)
#define DECLARES_REGISTER_FRICTION(CLASS_NAME)
Definition: FrictionBase.h:78
double m_mu
friction coeficient (non-dimensional)
double m_R2
Ward-Iagnemma rolling resistance coefficient.


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:40