Commit Graph

26 Commits

Author SHA1 Message Date
raiden00pl
0577bd2c33 examples/foc: add a simple character based interface to interact with the app 2021-12-08 12:20:42 -06:00
raiden00pl
37aa562f03 examples/foc: move adc and button interfaces logic to a separate file 2021-12-07 07:51:12 -06:00
raiden00pl
ea27aacbd2 examples/foc: move threads related logic to a separate file 2021-12-07 07:51:12 -06:00
raiden00pl
3fda1294d7 examples/foc: move setpoint and vbus configuration from foc_adc.h to foc_cfg.h 2021-12-07 07:51:12 -06:00
raiden00pl
edeaacedb0 examples/foc/foc_cfg.h: fix typo 2021-12-07 07:51:12 -06:00
erhan cengiz
6b7fe2ac51 FOC Kconfig corrected 2021-11-08 07:40:09 -06:00
raiden00pl
629e5a8e62 examples/foc: add support for sensor index search 2021-11-07 03:46:17 -06:00
raiden00pl
15b66aa128 examples/foc: add Qenco support 2021-11-07 03:44:03 -06:00
raiden00pl
f38d7d2ed3 examples/foc: terminate main loop if FOC control loop terminated 2021-11-07 03:42:06 -06:00
raiden00pl
5ee9572531 examples/foc: add Hall sensor support 2021-11-04 13:50:57 -05:00
raiden00pl
c771942d8e examples/foc: add support for sensor alignment 2021-11-04 13:50:57 -05:00
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
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