7 #ifndef __tire_LinearTire_h__ 8 #define __tire_LinearTire_h__ 23 add(stiffness, FE_USE(
"tire:z:stiffness"));
24 add(damping, FE_USE(
"tire:z:damping"));
25 add(xy_stiffness, FE_USE(
"tire:xy:stiffness"));
26 add(friction, FE_USE(
"tire:friction"));
27 add(do_rollover, FE_USE(
"tire:do_rollover"));
28 add(pneumatic_trail, FE_USE(
"tire:pneumatic_trail"));
29 add(Fmax, FE_USE(
"tire:Fmax"));
43 :
virtual public TireI,
virtual public StreamableI,
51 void step(t_moa_real a_dt);
60 void setVelocity(
const t_moa_v3 &a_velocity);
61 void setAngularVelocity(
const t_moa_v3 &a_ang_velocity);
62 void setContact(
const t_moa_real a_radius,
63 const t_moa_real a_inclination);
67 const t_moa_v3 &getAngularVelocity(
void);
68 const t_moa_real &getRadius(
void) {
return m_radius; }
70 t_moa_real &contactRadius(
void) {
return m_contact_radius; }
71 t_moa_real &inclination(
void) {
return m_inclination; }
73 virtual void output(std::ostream &a_ostrm)
75 a_ostrm << m_force[0] <<
" " << m_force[1] <<
" " << m_force[2];
77 virtual void input(std::istream &a_istrm)
79 a_istrm >> m_force[0] >> m_force[1] >> m_force[2];
83 void initialize(
void);
89 t_moa_real m_contact_radius;
90 t_moa_real m_inclination;
95 t_moa_real m_pneumatic_trail;
99 t_moa_real m_xy_stiffness;
100 t_moa_real m_z_stiffness;
101 t_moa_real m_z_damping;
Simple Linear Tire Model.
Definition: LinearTire.h:16
Linear Tire Model.
Definition: LinearTire.h:42
Tire Model.
Definition: tireAS.h:22
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
The most simple least common denominator, single contact, patch oriented Many (most?) "tire models" are this, or use this.
Definition: TireI.h:17
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192