Environment.h 833 Bytes
Newer Older
1 2 3 4 5 6 7

#ifndef ENVIRONMENT_H
#define ENVIRONMENT_H

namespace CLA {
		struct Environment {
			double engine_timestep; // engine period
8
			double pulse_advance_time;
fmg005's avatar
fmg005 committed
9
			double prosim_real_time; // advance duration in realtime
10
			double simulation_time; // grab from config file in seconds
11
			double simulation_realtime;
12 13 14 15 16
			unsigned long simulation_timesteps; // how long should simulation run
			unsigned long time_index; // track engine advancement time
			double simulation_injury_start;
			double simulation_injury_stop;
			double sim_currentTime;
fmg005's avatar
fmg005 committed
17 18
			double bpdrug_rate;
			double saline_rate;
19 20
			unsigned long simulation_injury_start_timestep;
			unsigned long simulation_injury_stop_timestep;
fmg005's avatar
fmg005 committed
21 22 23 24
			const char* port; /*serial port for simulator*/
			uint32_t baudrate; /*baudrate for serial simulator serial connection*/


25 26 27 28
		};
}

#endif