ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.67k stars 2.98k forks source link

CMSIS(DSP) PID implemented in Mbed is not comlete? #10208

Closed JohnK1987 closed 4 years ago

JohnK1987 commented 5 years ago

Description

Hi, I tried to use PID control from CMSIS implemented in Mbed-OS but compiler can not found functions like

The old Mbed-DPS lib has same functions like here and it works

The Mbed-os has same description in the PID's doxygen documentation like Mbed-DSP but init and reset functions missing and can not be called. The PID will not work without the init function and must be added manually.

Old Mbed-DSP: The Pid init and reset functions exist in the mbed-DSP-arm_math.h file, start at line 1788 and in mbed-DSP-ControllerFunctions folder are .c files for the PID functions like reset and init.

Current MbedOS5: Arm_math.h is here but where I can found the "ControllerFunctions" folder?

All missing files are in "unsupported" folder.

So it is a misstake or did I misunderstand something? How I can correctly use the PID from the CMSIS?

Issue request type

ciarmcom commented 5 years ago

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1053

ciarmcom commented 4 years ago

Thank you for raising this issue. Please note we have updated our policies and now only defects should be raised directly in GitHub. Going forward questions and enhancements will be considered in our forums, https://forums.mbed.com/ . If this issue is still relevant please re-raise it there. This GitHub issue will now be closed.