automobile_simple.h

00001 /*
00002  * automobile_simple.h
00003  *
00004  * Programmer(s): Michael Paluszek
00005  *
00006  * Copyright (c) 2013 Princeton Satellite Systems. All rights reserved.
00007  *
00008  */
00009 
00010 #include <DSimEngine2/DSimEngine2.h>
00011 
00012 #ifndef AUTOMOBILE_SIMPLE
00013 #define AUTOMOBILE_SIMPLE
00014 
00016 
00024 class automobile_simple : public dsim_model
00025 {
00026     public:
00028         automobile_simple(dsim_model_setup *setup);
00030                 ~automobile_simple();
00032                 void initialize_data();
00034                 void initialization_complete();
00036                 void initialize_timestep();
00038         void rhs(double t,double jd);
00040                 void complete_timestep();
00041         
00042     protected:
00043     
00045         dsim_variable steering_angle_dsim;
00047         dsim_variable torque_dsim;
00049         dsim_variable rolling_friction_coeff_dsim; 
00051         dsim_variable inertia_dsim; 
00053         dsim_variable mass_dsim; 
00055         dsim_variable rho_dsim; 
00057         dsim_variable r_dsim; 
00059         dsim_variable state_dsim; 
00061         dsim_variable position_dsim; 
00063         dsim_variable yaw_matrix_dsim;
00065         dsim_variable drag_coeff_dsim; 
00067         dsim_variable frontal_area_dsim; 
00068 
00069 
00070         
00071         private:
00072 };
00073 #endif
 All Classes Files Functions Variables