You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
st = _sin(angle);
ct = _cos(angle);
Cache the results of trigonometric functions? Angle does not change between samples。
Clarke transform:src\BLDCMotor.cpp Line 546.
Inverse clarke transform:src\common\base_classes\CurrentSense.cpp Line 42.
// function approximating cosine calculation by using fixed size array
// ~55us (float array)
// ~56us (int array)