Commit Graph

12 Commits

Author SHA1 Message Date
raiden00pl
b30f3329f6 foc/examples: initial logic to support torque, velocity and position controller modes 2021-11-04 13:50:57 -05:00
raiden00pl
b0eeefd0a5 examples/foc: add logic for controller state machine 2021-11-04 13:50:57 -05:00
raiden00pl
f9cec1c770 examples/foc: move the motor controller code to separate files 2021-10-31 12:13:45 -05:00
raiden00pl
22ed7da99c examples/foc: move the common FOC dev logic from threads to one place 2021-10-31 12:13:45 -05:00
raiden00pl
e0ef3cecb9 examples/foc: move FOC device data to foc_device_s 2021-10-31 12:13:45 -05:00
raiden00pl
33b34f8852 examples/foc: open FOC device in FOC threads 2021-10-31 12:13:45 -05:00
raiden00pl
2d034ed09a examples/foc: separate motor control logic from motor state logic 2021-10-31 12:13:45 -05:00
raiden00pl
2fb79db8b4 examples/foc: replace the requested velocity input with a more general setpoint input.
This is the inital step to support torque/velocity/position control
2021-10-30 13:50:56 -05:00
raiden00pl
9c8e3cc46a examples/foc: add option to disable open-loop operations
Initial step towards sensored control
2021-10-30 10:00:38 -05:00
raiden00pl
10ab78b028 examples/foc/foc_float_thr.c: fix incorect variable type 2021-05-31 08:31:45 -05:00
Xiang Xiao
213e60232f Include assert.h in necessary place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-31 08:51:22 +02:00
raiden00pl
864a61a431 Add FOC motor controller example
For now, only open-loop velocity control is supported.
2021-04-10 00:40:43 -05:00