Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Model2DRigidDyncar Class Reference

A 5DOF dynamical model of a rigid car. This model uses a linear tire model, which is far from reality. The model was donated by Jim Bernard. More...

#include <model2d.h>

Inheritance diagram for Model2DRigidDyncar:

Model2DRigid Model2D Model Model2DRigidDyncarNtire List of all members.

Public Methods

 Model2DRigidDyncar (string path)
virtual ~Model2DRigidDyncar ()
vector Integrate (const vector &x, const vector &u, const double &h)
 Perform integration from state x, using input u, over time step h.

virtual point StateToLedaPoint (const vector &x)
 A method that converts a state into a 2D LEDA point.

virtual vector StateToConfiguration (const vector &x)
 A method that converts a Model state in to a Geom configuration.

virtual vector StateTransitionEquation (const vector &x, const vector &u)
 The state transition equation, or equations of motion, xdot=f(x,u).

virtual double Metric (const vector &x1, const vector &x2)
 A distance metric, which is Euclidean in the base class.

virtual vector LinearInterpolate (const vector &x1, const vector &x2, const double &a)
 Linearly interpolate two state while respecting topology. More...


Public Attributes

double Mass
 Mass in slugs (yuck! American customary units...).

double CAF
 Front cornering stiffness.

double CAR
 Rear cornering stiffness.

double Adist
 Mass center to front tires - feet.

double Bdist
 Mass center to rear tires - feet.

double Izz
 Yaw moment of interia - ft slugs^2.

double WorldScale
 Feet per world unit (100x100 world).

double MaxSteeringAngle
 Maximum steering angle in radians.

double Speed
 A forward speed of the car.


Detailed Description

A 5DOF dynamical model of a rigid car. This model uses a linear tire model, which is far from reality. The model was donated by Jim Bernard.


Constructor & Destructor Documentation

Model2DRigidDyncar::Model2DRigidDyncar ( string path = "" )
 

Model2DRigidDyncar::~Model2DRigidDyncar ( ) [inline, virtual]
 


Member Function Documentation

vector Model2DRigidDyncar::Integrate ( const vector & x,
const vector & u,
const double & h ) [virtual]
 

Perform integration from state x, using input u, over time step h.

Reimplemented from Model2DRigid.

vector Model2DRigidDyncar::LinearInterpolate ( const vector & x1,
const vector & x2,
const double & a ) [virtual]
 

Linearly interpolate two state while respecting topology.

If a=0, then x1 is returned; if a=1, then x2 is returned. All intermediate values of $a \in [0,1]$ yield intermediate states. This method is defined by Model.

Reimplemented from Model2DRigid.

double Model2DRigidDyncar::Metric ( const vector & x1,
const vector & x2 ) [virtual]
 

A distance metric, which is Euclidean in the base class.

Reimplemented from Model2DRigid.

vector Model2DRigidDyncar::StateToConfiguration ( const vector & x ) [virtual]
 

A method that converts a Model state in to a Geom configuration.

Reimplemented from Model2DRigid.

point Model2DRigidDyncar::StateToLedaPoint ( const vector & x ) [virtual]
 

A method that converts a state into a 2D LEDA point.

Reimplemented from Model.

vector Model2DRigidDyncar::StateTransitionEquation ( const vector & x,
const vector & u ) [virtual]
 

The state transition equation, or equations of motion, xdot=f(x,u).

Reimplemented from Model2DRigid.

Reimplemented in Model2DRigidDyncarNtire.


Member Data Documentation

double Model2DRigidDyncar::Adist
 

Mass center to front tires - feet.

double Model2DRigidDyncar::Bdist
 

Mass center to rear tires - feet.

double Model2DRigidDyncar::CAF
 

Front cornering stiffness.

double Model2DRigidDyncar::CAR
 

Rear cornering stiffness.

double Model2DRigidDyncar::Izz
 

Yaw moment of interia - ft slugs^2.

double Model2DRigidDyncar::Mass
 

Mass in slugs (yuck! American customary units...).

double Model2DRigidDyncar::MaxSteeringAngle
 

Maximum steering angle in radians.

double Model2DRigidDyncar::Speed
 

A forward speed of the car.

double Model2DRigidDyncar::WorldScale
 

Feet per world unit (100x100 world).


The documentation for this class was generated from the following files: Motion Strategy Library


Web page maintained by Steve LaValle
Partial support provided by NSF CAREER Award IRI-970228 (LaValle), Honda Research, and Iowa State University.
Contributors: Anna Atramentov, Peng Cheng, James Kuffner, Steve LaValle, and Libo Yang.