You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/10/30 15:17:15 UTC

[incubator-nuttx-apps] branch master updated (9c8e3cc -> 4001d27)

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 9c8e3cc  examples/foc: add option to disable open-loop operations
     add 27c282a  include/industry/foc/*/foc_angle.h: add a field with angle type
     add cb78f6d  industry/foc/*/foc_angle.c: run method should return int
     add 2e61b3e  industry/foc/*/foc_velocity.c: run method should return int
     add 6cafdae  industry/foc/*/foc_angle.c: add methods to set the zero angle and direction of the angle
     add 515a25f  industry/foc/*/foc_velocity.c: add methods to set the zero velocity and direction of the velocity
     add ff839dc  industry/foc/*/foc_openloop.c: adapt to previous changes
     add df1638a  industry/foc/*/foc_openloop.c: rename files to foc_ang_openloop.c
     add 5b52247  industry/foc: add support for qenco
     add 4001d27  industry/foc: add support for Hall sensor

No new revisions were added by this update.

Summary of changes:
 include/industry/foc/fixed16/foc_angle.h           |  68 ++-
 include/industry/foc/fixed16/foc_velocity.h        |  32 +-
 include/industry/foc/float/foc_angle.h             |  68 ++-
 include/industry/foc/float/foc_velocity.h          |  32 +-
 include/industry/foc/foc_common.h                  |   9 +
 industry/foc/Kconfig                               |  34 ++
 industry/foc/Makefile                              |  16 +-
 industry/foc/fixed16/foc_ang_hall.c                | 592 +++++++++++++++++++++
 .../fixed16/{foc_openloop.c => foc_ang_openloop.c} |  99 +++-
 industry/foc/fixed16/foc_ang_qenco.c               | 344 ++++++++++++
 industry/foc/fixed16/foc_angle.c                   |  40 +-
 industry/foc/fixed16/foc_velocity.c                |  41 +-
 industry/foc/float/foc_ang_hall.c                  | 588 ++++++++++++++++++++
 .../float/{foc_openloop.c => foc_ang_openloop.c}   |  96 +++-
 industry/foc/float/foc_ang_qenco.c                 | 338 ++++++++++++
 industry/foc/float/foc_angle.c                     |  44 +-
 industry/foc/float/foc_velocity.c                  |  41 +-
 17 files changed, 2422 insertions(+), 60 deletions(-)
 create mode 100644 industry/foc/fixed16/foc_ang_hall.c
 rename industry/foc/fixed16/{foc_openloop.c => foc_ang_openloop.c} (69%)
 create mode 100644 industry/foc/fixed16/foc_ang_qenco.c
 create mode 100644 industry/foc/float/foc_ang_hall.c
 rename industry/foc/float/{foc_openloop.c => foc_ang_openloop.c} (69%)
 create mode 100644 industry/foc/float/foc_ang_qenco.c