Rleg  2
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
control.c
Go to the documentation of this file.
1 #include "control.h"
2 
59  mra_data->v_ctl = ((int)time_global)%V_CTRL_MAX;
60 }
MRA_DATA_STRUCT mra_data
Definition: main.c:32
ENC_DATA_STRUCT enc_data
Definition: main.c:31
Struct to control MRA.
Data of IMU structure.
Definition: communication.h:93
IMU_DATA_STRUCT imu_data
Definition: main.c:30
void control_test(double time_global, IMU_DATA_STRUCT *imu_data, MRA_DATA_STRUCT *mra_data, ENC_DATA_STRUCT *enc_data)
Function: control_main Summary: Calculate the control signal.
Definition: control.c:58
#define V_CTRL_MAX
Definition: control.h:11
short int v_ctl
Voltage level for control output.