Commit Graph

24 Commits

Author SHA1 Message Date
raiden00pl
7e5a436ff9 examples/foc: add real time data capture with the NxScope library 2023-05-19 20:18:38 +08:00
raiden00pl
f358bdfcb3 examples/foc: send messages only to active control threads 2023-05-15 13:19:34 -03:00
raiden00pl
beb5369a0d examples/foc/foc_main.c: fix de-initialization sequence 2023-05-15 13:19:34 -03:00
raiden00pl
13bfad1053 examples/foc: control motor identification parameters from cmd line 2022-11-04 02:07:15 +08:00
raiden00pl
2bbfb1b396 examples/foc: move validate_args to parseargs file 2022-11-04 02:07:15 +08:00
raiden00pl
2c5dc1e4a2 examples/foc: simplify control thread configuration 2022-11-04 02:07:15 +08:00
raiden00pl
b1f91528ec examples/foc: separate control thread configuration from general args 2022-11-04 02:07:15 +08:00
raiden00pl
c2efa80969 examples/foc: refactor args 2022-11-04 02:07:15 +08:00
Xiang Xiao
893387b2c5 Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:07:16 +02:00
Xiang Xiao
9291d07a87 Fix the coding style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-06 12:20:32 +02:00
raiden00pl
35c31e35c1 examples/foc: add options to run only the sensor alignment routine or the motor identification routine 2022-08-28 13:24:51 +08:00
raiden00pl
e6b6c14f53 examples/foc: make the FOC current controller configurable
For now only the FOC PI current controller is supported, but this can be easily extended to support other control methods
2022-02-16 23:49:46 +08:00
Fotis Panagiotopoulos
bc5d8034f1 Typo fixes. 2022-01-06 10:30:41 +08: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
f38d7d2ed3 examples/foc: terminate main loop if FOC control loop terminated 2021-11-07 03:42:06 -06:00
raiden00pl
b30f3329f6 foc/examples: initial logic to support torque, velocity and position controller modes 2021-11-04 13:50:57 -05:00
raiden00pl
33b34f8852 examples/foc: open FOC device in FOC threads 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
013caaa334 examples/foc: move the parse args logic to a separate file 2021-10-30 07:59:02 -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