|
MCU
|
#include "TorqueControllerMux.h"#include "TorqueControllers.h"#include "fake_controller_type.h"#include "gtest/gtest.h"

Go to the source code of this file.
Functions | |
| template<typename quad_array_type > | |
| void | set_four_outputs (quad_array_type &out, float val) |
| template<typename controller_type > | |
| void | set_outputs (controller_type &controller, float mps, float torque) |
| template<typename controller_type > | |
| void | set_output_rpm (controller_type &controller, float rpm, float torque) |
| TEST (TorqueControllerMuxTesting, test_construction) | |
| TEST (TorqueControllerMuxTesting, test_invalid_controller_request_error) | |
| TEST (TorqueControllerMuxTesting, test_controller_output_swap_logic) | |
| TEST (TorqueControllerMuxTesting, test_torque_diff_swap_limit) | |
| TEST (TorqueControllerMuxTesting, test_construction_with_new_controller_orgs) | |
| TEST (TorqueControllerMuxTesting, test_mode0_evaluation) | |
| TEST (TorqueControllerMuxTesting, test_power_limit) | |
| TEST (TorqueControllerMuxTesting, test_torque_limit) | |
| TEST (TorqueControllerMuxTesting, test_null_pointer_error_state) | |
| void set_four_outputs | ( | quad_array_type & | out, |
| float | val | ||
| ) |
Definition at line 14 of file tc_mux_v2_testing.h.
| void set_output_rpm | ( | controller_type & | controller, |
| float | rpm, | ||
| float | torque | ||
| ) |
Definition at line 35 of file tc_mux_v2_testing.h.
| void set_outputs | ( | controller_type & | controller, |
| float | mps, | ||
| float | torque | ||
| ) |
Definition at line 23 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_construction | |||
| ) |
Definition at line 46 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_construction_with_new_controller_orgs | |||
| ) |
Definition at line 132 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_controller_output_swap_logic | |||
| ) |
Definition at line 71 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_invalid_controller_request_error | |||
| ) |
Definition at line 52 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_mode0_evaluation | |||
| ) |
Definition at line 157 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_null_pointer_error_state | |||
| ) |
Definition at line 272 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_power_limit | |||
| ) |
Definition at line 198 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_torque_diff_swap_limit | |||
| ) |
Definition at line 101 of file tc_mux_v2_testing.h.
| TEST | ( | TorqueControllerMuxTesting | , |
| test_torque_limit | |||
| ) |
Definition at line 232 of file tc_mux_v2_testing.h.