DefaultFriction.h
Go to the documentation of this file.
1 /*+-------------------------------------------------------------------------+
2  | MultiVehicle simulator (libmvsim) |
3  | |
4  | Copyright (C) 2014 Jose Luis Blanco Claraco (University of Almeria) |
5  | Copyright (C) 2017 Borys Tymchenko (Odessa 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 {
22 {
24  public:
26  VehicleBase& my_vehicle, const rapidxml::xml_node<char>* node);
27 
28  // See docs in base class.
29  virtual void evaluate_friction(
30  const FrictionBase::TFrictionInput& input,
31  mrpt::math::TPoint2D& out_result_force_local) const;
32 
33  private:
34  double m_mu;
35  double m_C_damping;
36 };
37 }
DefaultFriction(VehicleBase &my_vehicle, const rapidxml::xml_node< char > *node)
double m_mu
friction coeficient (non-dimensional)
#define DECLARES_REGISTER_FRICTION(CLASS_NAME)
Definition: FrictionBase.h:78
virtual void evaluate_friction(const FrictionBase::TFrictionInput &input, mrpt::math::TPoint2D &out_result_force_local) const
double m_C_damping
For wheels "internal friction" (N*m*s/rad)


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