Fork and fix for mwork
Dependencies: mbed-dev-f303 FastPWM3 millis
Diff: Calibration/calibration.cpp
- Revision:
- 45:26801179208e
- Parent:
- 44:8040fa2fcb0d
- Child:
- 46:2d4b1dafcfe3
--- a/Calibration/calibration.cpp Mon Jun 11 00:04:06 2018 +0000 +++ b/Calibration/calibration.cpp Wed Jun 27 03:44:44 2018 +0000 @@ -16,7 +16,7 @@ printf("\n\r Checking phase ordering\n\r"); float theta_ref = 0; float theta_actual = 0; - float v_d = .15f; //Put all volts on the D-Axis + float v_d = .05f; //Put all volts on the D-Axis float v_q = 0.0f; float v_u, v_v, v_w = 0; float dtc_u, dtc_v, dtc_w = .5f; @@ -88,7 +88,7 @@ int raw_b[n] = {0}; float theta_ref = 0; float theta_actual = 0; - float v_d = .15f; // Put volts on the D-Axis + float v_d = .05f; // Put volts on the D-Axis float v_q = 0.0f; float v_u, v_v, v_w = 0; float dtc_u, dtc_v, dtc_w = .5f;