Rleg
2
|
Functions | |
int | ui_init (void) |
Initialize UI. More... | |
int | ui_close (void) |
Close UI. More... | |
int | ui_update (IMU_DATA_STRUCT *pimu_data, EFF_DATA_STRUCT *peff_data, MRA_DATA_STRUCT *pmra_data, ENC_DATA_STRUCT *enc_data, int total, int failure) |
Update Screen with new data of sensors. More... | |
int | ui_imu_data (IMU_DATA_STRUCT *pimu_data) |
Print IMU data. More... | |
int | ui_mra_data (MRA_DATA_STRUCT *pmra_data) |
Print MRA data. More... | |
int ui_close | ( | void | ) |
Close UI.
Definition at line 41 of file ui.c.
References SUCCESS.
Referenced by main(), and threads_linux_init().
int ui_imu_data | ( | IMU_DATA_STRUCT * | pimu_data | ) |
Print IMU data.
Definition at line 135 of file ui.c.
References IMU_DATA_STRUCT::acc, IMU_DATA_STRUCT::calibrated::acc, IMU_DATA_STRUCT::calib, IMU_DATA_STRUCT::gyr, IMU_DATA_STRUCT::calibrated::gyr, IMU_DATA_STRUCT::mag, IMU_DATA_STRUCT::calibrated::mag, SUCCESS, DATA_XYZ::x, DATA_XYZ_DOUBLE::x, DATA_XYZ::y, DATA_XYZ_DOUBLE::y, DATA_XYZ::z, and DATA_XYZ_DOUBLE::z.
Referenced by ui_update().
int ui_init | ( | void | ) |
Initialize UI.
Definition at line 26 of file ui.c.
Referenced by main(), and threads_linux_init().
int ui_mra_data | ( | MRA_DATA_STRUCT * | pmra_data | ) |
Print MRA data.
Definition at line 188 of file ui.c.
References SUCCESS, MRA_DATA_STRUCT::v_ctl, and MRA_DATA_STRUCT::v_ctl_read.
Referenced by ui_update().
int ui_update | ( | IMU_DATA_STRUCT * | pimu_data, |
EFF_DATA_STRUCT * | peff_data, | ||
MRA_DATA_STRUCT * | pmra_data, | ||
ENC_DATA_STRUCT * | enc_data, | ||
int | total, | ||
int | failure | ||
) |
Update Screen with new data of sensors.
Definition at line 53 of file ui.c.
References DATALOGGER_RUNNING, datalogger_start(), datalogger_status(), datalogger_stop(), exit_program(), FAILURE, SUCCESS, ui_eff_data(), ui_enc_data(), ui_imu_data(), ui_menu(), ui_mra_data(), and ui_overview_data().
Referenced by periodic_task_2(), threads_linux_periodic_task_2(), and ui_task().