@mxlemming
hy,
i sorted some things out, i was using wrong ecuations from turorials for FOC algorithm, the reason nothing worked as expected... ,now i use the ones in MESC, now the flux observer works (MESC version with integration), now it keeps the rotation direction and it changes only when i...