Commit Graph

5 Commits

Author SHA1 Message Date
raiden00pl
d589443980 industry/foc: fix direction alignment
CCW direction wasn't properly detected when we start alignment from near zero position
2023-11-18 08:39:40 -08:00
raiden00pl
5a65f3d48f industry/foc: reset align data when align is finished
this allows the align procedure to be run multiple times
2023-10-16 13:44:37 -04:00
raiden00pl
8ee684e586 industry/foc: make direction alignment configurable
for sensorless velocity controller (ESC) we don't need to align the direction,
but we have to align the initial motor phase each time the motor start
2023-10-16 13:44:37 -04:00
raiden00pl
54c0b9a9d8 industry/foc/foc_align: add support for sensor index search 2021-11-07 03:46:17 -06:00
raiden00pl
f2fc2af8e3 industry/foc: add sensor alignment routine 2021-10-30 01:18:12 -05:00