Ben Katz
/
Hobbyking_Cheetah_V1
FOC Implementation for putting multirotor motors in robots
Diff: CurrentRegulator/CurrentRegulator.cpp
- Revision:
- 3:6a0015d88d06
- Parent:
- 2:8724412ad628
- Child:
- 4:c023f7b6f462
--- a/CurrentRegulator/CurrentRegulator.cpp Fri Feb 19 04:13:06 2016 +0000 +++ b/CurrentRegulator/CurrentRegulator.cpp Wed Mar 09 04:00:48 2016 +0000 @@ -11,7 +11,7 @@ _Inverter = inverter; PWM = new SPWM(inverter, 2.0); _PositionSensor = position_sensor; - IQ_Ref = 5; + IQ_Ref = 1; ID_Ref = 0; V_Q = 0; V_D = 0;