move to ccs based on 39cc590260f6d69837dd16740b7b8612e8935592
This commit is contained in:
20
3rd/dfoc.h
Normal file
20
3rd/dfoc.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef __DFOC_H
|
||||
#define __DFOC_H
|
||||
|
||||
void Motor_en(void);
|
||||
float constrain(float amt, float low, float high);
|
||||
void SetPwm(float Ua, float Ub, float Uc);
|
||||
float normalizeAngle(float angle);
|
||||
void SetPhaseVoltage(float Uq, float Ud, float angle_el);
|
||||
void Check_Sensor(void);
|
||||
void FOC_Init(float power);
|
||||
float electricAngle(void);
|
||||
float GetCommand(void);
|
||||
void Set_Angle(float Target);
|
||||
float velocityopenloop(float target);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user