7 #ifndef __tire_StickTire_h__ 8 #define __tire_StickTire_h__ 10 #define DUMP(D) dump(#D, D) 11 #define DUMPC(C,D) dump(C, #D, D) 26 add(stiffness, FE_USE(
"tire:z:stiffness"));
27 add(damping, FE_USE(
"tire:z:damping"));
28 add(friction, FE_USE(
"tire:friction"));
29 add(bias, FE_USE(
"tire:stick:bias"));
30 add(stick_stiffness, FE_USE(
"tire:stick:stiffness"));
31 add(slip_stiffness, FE_USE(
"tire:xy:stiffness"));
44 :
virtual public TireI,
virtual public StreamableI,
52 void step(t_moa_real a_dt);
61 void setVelocity(
const t_moa_v3 &a_velocity);
62 void setAngularVelocity(
const t_moa_v3 &a_ang_velocity);
63 void setContact(
const t_moa_real a_radius,
64 const t_moa_real a_inclination);
68 const t_moa_v3 &getAngularVelocity(
void);
69 const t_moa_real &getRadius(
void) {
return m_radius; }
71 t_moa_real &contactRadius(
void) {
return m_contact_radius; }
72 t_moa_real &inclination(
void) {
return m_inclination; }
74 virtual void output(std::ostream &a_ostrm)
76 a_ostrm << m_force[0] <<
" " << m_force[1] <<
" " << m_force[2];
78 virtual void input(std::istream &a_istrm)
80 a_istrm >> m_force[0] >> m_force[1] >> m_force[2];
84 void initialize(
void);
90 t_moa_real m_contact_radius;
91 t_moa_real m_inclination;
98 AsContactLive m_asContactLive;
105 t_moa_real m_z_stiffness;
106 t_moa_real m_z_damping;
107 t_moa_real m_stick_bias;
108 t_moa_real m_stick_stiffness;
109 t_moa_real m_slip_stiffness;
Tire Model.
Definition: tireAS.h:22
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Run Time Single Contact Tire Model.
Definition: tireAS.h:49
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
Simple Stick Tire Model.
Definition: StickTire.h:19
Linear Tire Model.
Definition: StickTire.h:43
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192
Non-persistent reference to an instance of a Layout.
Definition: WeakRecordSB.h:17