//Front Acceletometer
#define acc_fx_center		(int)(485/scaling)	
#define acc_fy_center		(int)(72/scaling)
#define	acc_fradius			(int)(40/scaling)

#define acc_fx_text			(int)(423/scaling)	
#define acc_fy_text			(int)(25/scaling)

//IMU
#define acc_mx_center		(int)(485/scaling)	
#define acc_my_center		(int)(385/scaling)
#define	acc_mradius			(int)(40/scaling)

#define acc_mzx_center		(int)(485/scaling)
#define acc_mzy_center		(int)(465/scaling)

#define acc_mx_text			(int)(423/scaling)	
#define acc_my_text			(int)(335/scaling)
// IMU rates
#define yaw_rate_x_center		(int)(485/scaling)	
#define yaw_rate_y_center		(int)(250/scaling)
#define	yaw_rate_radius			(int)(50/scaling)

#define rates_x_text			(int)(423/scaling)	
#define rates_y_text			(int)(185/scaling)



//Rear Accelerometer
#define acc_rx_center		(int)(485/scaling)	
#define acc_ry_center		(int)(610/scaling)
#define	acc_rradius			(int)(40/scaling)

#define acc_rx_text			(int)(423/scaling)	
#define acc_ry_text			(int)(565/scaling)

// Brake sensors 
// Front 
#define front_brake_x			(int)(232/scaling)
#define front_brake_y			(int)(262/scaling)
#define front_brake_radius		(int)(10/scaling)

#define front_brake_x_text		(int)(230/scaling)
#define front_brake_y_text		(int)(292/scaling)
// Rear
#define rear_brake_x			(int)(232/scaling)
#define rear_brake_y			(int)(352/scaling)
#define rear_brake_radius		(int)(10/scaling)

#define rear_brake_x_text		(int)(230/scaling)
#define rear_brake_y_text		(int)(382/scaling)
#define acceleration(center,radius,value) (int)(center+(double)(value*(double)radius))

// Steering angle
#define steering_x_gauge		(int)(780/scaling)	
#define steering_y_gauge		(int)(435/scaling)
#define steering_r_gauge		(int)(50/scaling)	

#define steering_x_text		(int)(730/scaling)	
#define steering_y_text		(int)(520/scaling)

//Steering torque
#define steering_torque_x_text	(int)(730/scaling)	
#define steering_torque_y_text	(int)(534/scaling)
//----------------------------------------------