This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git.
from 3ba18e5 testing/ostest: Fix the compiler warning
new 2d034ed examples/foc: separate motor control logic from motor state
logic
new 33b34f8 examples/foc: open FOC device in FOC threads
new e0ef3ce examples/foc: move FOC device data to foc_device_s
new 22ed7da examples/foc: move the common FOC dev logic from threads to
one place
new f9cec1c examples/foc: move the motor controller code to separate files
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
examples/foc/Makefile | 4 +-
examples/foc/foc_device.c | 160 ++++++++-
examples/foc/foc_device.h | 15 +-
examples/foc/foc_fixed16_thr.c | 725 +++++-----------------------------------
examples/foc/foc_float_thr.c | 726 +++++------------------------------------
examples/foc/foc_main.c | 17 -
examples/foc/foc_motor_b16.c | 541 ++++++++++++++++++++++++++++++
examples/foc/foc_motor_b16.h | 99 ++++++
examples/foc/foc_motor_f32.c | 543 ++++++++++++++++++++++++++++++
examples/foc/foc_motor_f32.h | 100 ++++++
examples/foc/foc_thr.h | 1 -
11 files changed, 1597 insertions(+), 1334 deletions(-)
create mode 100644 examples/foc/foc_motor_b16.c
create mode 100644 examples/foc/foc_motor_b16.h
create mode 100644 examples/foc/foc_motor_f32.c
create mode 100644 examples/foc/foc_motor_f32.h