Commit Graph

11 Commits

Author SHA1 Message Date
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
cc4d817df4 examples/foc: use getopt to parse arguments 2021-10-30 07:59:02 -05:00
raiden00pl
013caaa334 examples/foc: move the parse args logic to a separate file 2021-10-30 07:59:02 -05:00
Alin Jerpelea
ec339bc49a Makefiles: Gregory Nutt: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -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