File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,7 @@ class BLDCMotor: public FOCMotor
70
70
float Ua, Ub, Uc;// !< Current phase voltages Ua,Ub and Uc set to motor
71
71
float Ualpha, Ubeta; // !< Phase voltages U alpha and U beta used for inverse Park and Clarke transform
72
72
73
-
74
- private:
75
- // FOC methods
76
- /* *
73
+ /* *
77
74
* Method using FOC to set Uq to the motor at the optimal angle
78
75
* Heart of the FOC algorithm
79
76
*
@@ -82,6 +79,10 @@ class BLDCMotor: public FOCMotor
82
79
* @param angle_el current electrical angle of the motor
83
80
*/
84
81
void setPhaseVoltage (float Uq, float Ud, float angle_el);
82
+
83
+ private:
84
+ // FOC methods
85
+
85
86
/* * Sensor alignment to electrical 0 angle of the motor */
86
87
int alignSensor ();
87
88
/* * Current sense and motor phase alignment */
You can’t perform that action at this time.
0 commit comments