before changing to soft iic
This commit is contained in:
@@ -129,9 +129,9 @@ void Set_Angle(float Target)
|
||||
{
|
||||
printf("angle readback in dfoc.c is %f \n", langle);
|
||||
}
|
||||
volatile float Uq = PID_Controller(0.133, 0.01, 0, (Target - Dir * langle) * 180 / PI);
|
||||
volatile float Uq = PID_Controller(0.067, 0.01, 0, (Target - Dir * langle) * 180 / PI);
|
||||
//volatile float Uq = PID_Controller(0.06, 0, 0, (Target - Dir * langle) * 180 / PI);
|
||||
if(DEBUG_ENABLED)
|
||||
if(DEBUG_ENABLED& DEBUG_DFOC_ENABLED)
|
||||
{
|
||||
printf("Uq is %f \n", Uq);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user