Public Member Functions | Protected Attributes

automobile_simple Class Reference
[DSim Models]

Simple automobile simulation model. More...

#include <automobile_simple.h>

List of all members.

Public Member Functions

 automobile_simple (dsim_model_setup *setup)
 Constructor.
 ~automobile_simple ()
 Destructor.
void initialize_data ()
 Initialize outlets and output variables.
void initialization_complete ()
 Finish initialization.
void initialize_timestep ()
 Computation done prior to numerical integration.
void rhs (double t, double jd)
 Computation done during numerical integration.
void complete_timestep ()
 Computation done after numerical integration.

Protected Attributes

dsim_variable steering_angle_dsim
 Steering angle.
dsim_variable torque_dsim
 Motor torque.
dsim_variable rolling_friction_coeff_dsim
 Rolling friction coefficient.
dsim_variable inertia_dsim
 Inertia.
dsim_variable mass_dsim
 Mass.
dsim_variable rho_dsim
 Tire radius.
dsim_variable r_dsim
 Tire position.
dsim_variable state_dsim
 State [x;y;vX;vY;theta;omega].
dsim_variable position_dsim
 Position [x;y].
dsim_variable yaw_matrix_dsim
 Yaw rotation matrix.
dsim_variable drag_coeff_dsim
 Drag coefficient.
dsim_variable frontal_area_dsim
 Frontal area.

Detailed Description

Simple automobile simulation model.

Right hand side for an automobile with 3 degrees of freedom Inputs are torque and steering angle. The degrees of freedom are yaw, x and y.

The model includes rolling friction and aerodynamic drag. The traction force is from the motor torque.

Definition at line 24 of file automobile_simple.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables