Main Page
Namespaces
Classes
Files
File List
File Members
libmvsim
include
mvsim
FrictionModels
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
12
#include <
mvsim/FrictionModels/FrictionBase.h
>
13
#include <vector>
14
#include <
Box2D/Dynamics/Joints/b2FrictionJoint.h
>
15
16
namespace
mvsim
17
{
24
class
WardIagnemmaFriction
:
public
FrictionBase
25
{
26
DECLARES_REGISTER_FRICTION
(
WardIagnemmaFriction
)
27
public
:
28
WardIagnemmaFriction
(
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
}
mvsim::WardIagnemmaFriction::evaluate_friction
virtual void evaluate_friction(const FrictionBase::TFrictionInput &input, mrpt::math::TPoint2D &out_result_force_local) const
Definition:
WardIagnemmaFriction.cpp:53
mvsim
Definition:
basic_types.h:47
b2FrictionJoint.h
mvsim::WardIagnemmaFriction::WardIagnemmaFriction
WardIagnemmaFriction(VehicleBase &my_vehicle, const rapidxml::xml_node< char > *node)
Definition:
WardIagnemmaFriction.cpp:20
mvsim::VehicleBase
Definition:
VehicleBase.h:50
mvsim::WardIagnemmaFriction
Definition:
WardIagnemmaFriction.h:24
mvsim::WardIagnemmaFriction::m_C_damping
double m_C_damping
For wheels "internal friction" (N*m*s/rad)
Definition:
WardIagnemmaFriction.h:38
mvsim::FrictionBase
Definition:
FrictionBase.h:20
mvsim::WardIagnemmaFriction::m_A_roll
double m_A_roll
Definition:
WardIagnemmaFriction.h:39
mvsim::WardIagnemmaFriction::m_R1
double m_R1
Definition:
WardIagnemmaFriction.h:39
mvsim::FrictionBase::TFrictionInput
Definition:
FrictionBase.h:31
DECLARES_REGISTER_FRICTION
#define DECLARES_REGISTER_FRICTION(CLASS_NAME)
Definition:
FrictionBase.h:78
mvsim::WardIagnemmaFriction::m_mu
double m_mu
friction coeficient (non-dimensional)
Definition:
WardIagnemmaFriction.h:37
mvsim::WardIagnemmaFriction::m_R2
double m_R2
Ward-Iagnemma rolling resistance coefficient.
Definition:
WardIagnemmaFriction.h:39
rapidxml::xml_node
Definition:
rapidxml.hpp:137
FrictionBase.h
mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:40