Rleg
2
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
Groups
Pages
control
control.c
Go to the documentation of this file.
1
#include "
control.h
"
2
58
void
control_test
(
double
time_global,
IMU_DATA_STRUCT
*
imu_data
,
MRA_DATA_STRUCT
*
mra_data
,
ENC_DATA_STRUCT
*
enc_data
){
59
mra_data->
v_ctl
= ((int)time_global)%
V_CTRL_MAX
;
60
}
mra_data
MRA_DATA_STRUCT mra_data
Definition:
main.c:32
enc_data
ENC_DATA_STRUCT enc_data
Definition:
main.c:31
MRA_DATA_STRUCT
Struct to control MRA.
Definition:
communication.h:129
IMU_DATA_STRUCT
Data of IMU structure.
Definition:
communication.h:93
imu_data
IMU_DATA_STRUCT imu_data
Definition:
main.c:30
ENC_DATA_STRUCT
Definition:
encoder_functions.h:45
control_test
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
control.h
V_CTRL_MAX
#define V_CTRL_MAX
Definition:
control.h:11
MRA_DATA_STRUCT::v_ctl
short int v_ctl
Voltage level for control output.
Definition:
communication.h:130
Generated on Tue Mar 18 2014 14:30:11 for Rleg by
1.8.6