Open-Vent-Bristol / Open-Vent-Bristol_MCU

This is the repository for OpenVent-Bristol. An open source ventilator project to help tackle COVID-19 in developing countries
https://www.openventbristol.co.uk
MIT License
9 stars 8 forks source link

Wip/don/actuator driver #59

Closed donaldrobson closed 3 years ago

donaldrobson commented 3 years ago

Closes #47

test 1 Start 1: actuator_unittest

1: Test command: /Users/donaldr/os_work/OpenVent/build/unittests/actuator/actuator_unittest "-v" 1: Test timeout computed to be: 10000000 1: Unity test run 1 of 1 1: TEST(actuator_init_tests, init_stops_motor) PASS 1: TEST(actuator_init_tests, init_configures_pid_control) PASS 1: TEST(actuator_init_tests, init_starts_service_timer) PASS 1: TEST(actuator_init_tests, init_binds_events) PASS 1: TEST(actuator_init_tests, init_clears_fault) PASS 1: TEST(actuator_mode_tests, stop_stops_motor) PASS 1: TEST(actuator_mode_tests, stop_stops_service_timer) PASS 1: TEST(actuator_mode_tests, stop_doesnt_clear_fault) PASS 1: TEST(actuator_mode_tests, constant_speed_home_stops_motor) PASS 1: TEST(actuator_mode_tests, constant_speed_home_doesnt_stop_on_second_call) PASS 1: TEST(actuator_mode_tests, constant_speed_home_no_change_during_fault) PASS 1: TEST(actuator_mode_tests, constant_speed_home_sets_motor_direction) PASS 1: TEST(actuator_mode_tests, constant_speed_home_sets_target_speed) PASS 1: TEST(actuator_mode_tests, constant_speed_home_resets_service_timer) PASS 1: TEST(actuator_mode_tests, constant_speed_push_stops_motor) PASS 1: TEST(actuator_mode_tests, constant_speed_push_doesnt_stop_on_second_call) PASS 1: TEST(actuator_mode_tests, constant_speed_push_no_change_during_fault) PASS 1: TEST(actuator_mode_tests, constant_speed_push_sets_motor_direction) PASS 1: TEST(actuator_mode_tests, constant_speed_push_caps_target_speed) PASS 1: TEST(actuator_mode_tests, constant_speed_push_resets_service_timer) PASS 1: TEST(actuator_mode_tests, pid_control_push_stops_motor) PASS 1: TEST(actuator_mode_tests, pid_control_push_doesnt_stop_on_second_call) PASS 1: TEST(actuator_mode_tests, pid_control_push_no_change_during_fault) PASS 1: TEST(actuator_mode_tests, pid_control_push_sets_motor_direction) PASS 1: TEST(actuator_mode_tests, pid_control_push_stops_service_timer) PASS 1: TEST(actuator_mode_tests, pid_control_push_set_point) PASS 1: TEST(actuator_run_tests, run_doesnt_do_anything_in_pid_mode) PASS 1: TEST(actuator_run_tests, run_doesnt_overshoot_target_speed) PASS 1: TEST(actuator_run_tests, run_sets_motor_speed) PASS 1: TEST(actuator_run_tests, run_pid_doesnt_do_anything_in_constant_speed_mode) PASS 1: TEST(actuator_run_tests, run_pid_calls_pid_update) PASS 1: TEST(actuator_run_tests, run_pid_sets_motor_speed) PASS 1: 1: ----------------------- 1: 32 Tests 0 Failures 0 Ignored 1: OK 1/6 Test #1: actuator_unittest ................ Passed 0.51 sec

donaldrobson commented 3 years ago

Merging because blocking other tasks. Any issues will be addressed after bringup.