5 #define DATALOGGER_MODULE_ENABLED 1
6 #define DATALOGGER_DEBUG_MODE 0
9 #define DATALOGGER_ENABLE_NEW_FILE_ENNUMERATION 0
10 #define DATALOGGER_FILE_NAME "rleg"
11 #define DATALOGGER_FOLDER "matlabdatafiles"
12 #define DATALOGGER_STANDARD_QUEUE_SIZE 750
15 #define DATALOGGER_LOG_TIME 1
16 #define DATALOGGER_LOG_EXECTIMES 1
17 #define DATALOGGER_LOG_RAW_IMU 1
18 #define DATALOGGER_LOG_EFFORTS 1
19 #define DATALOGGER_LOG_MRA 1
22 #define DATALOGGER_LOG_CALIBRATED_IMU 1
27 #define DATALOGGER_NOT_INITIALIZED 0
28 #define DATALOGGER_INITIALIZED 1
29 #define DATALOGGER_NOT_RUNNING 0
30 #define DATALOGGER_RUNNING 1
31 #define DATALOGGER_VARIABLE_NOT_INSERTED 0
32 #define DATALOGGER_VARIABLE_INSERTED 1
35 #define DATALOGGER_SUCCESS 1
36 #define DATALOGGER_FAILURE -1
37 #define DATALOGGER_ERROR_NOT_INITIALIZED -2
38 #define DATALOGGER_VARIBALE_ALREADY_INSERTED -3
int datalogger_stop(void)
int datalogger_update(double t_s, double t_control_exec_s, double t_ui_exec_s, double t0_s, IMU_DATA_STRUCT *pimu_data, EFF_DATA_STRUCT *peff_data, MRA_DATA_STRUCT *pmra_data)
int datalogger_write_file(void)
int datalogger_close(void)
int datalogger_file_exists(const char *filename)
int datalogger_update_IPC(void)
int datalogger_status(void)
int datalogger_start(void)
int datalogger_set_Ts(double Ts)
int datalogger_init(void)