Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
functions.h@66:fa7171cf3f67, 2019-10-16 (annotated)
- Committer:
- JornD
- Date:
- Wed Oct 16 13:39:19 2019 +0000
- Branch:
- Branch2
- Revision:
- 66:fa7171cf3f67
- Parent:
- 64:5a6bf0cd1c50
WORKING - Implemented Jordan's motor control
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JornD | 64:5a6bf0cd1c50 | 1 | #ifndef functions_h |
JornD | 64:5a6bf0cd1c50 | 2 | #define functions_h |
JornD | 61:4c7de1e2f9fe | 3 | |
JornD | 61:4c7de1e2f9fe | 4 | #include "structures.h" |
JornD | 61:4c7de1e2f9fe | 5 | |
JornD | 49:a9ed4f4cdef7 | 6 | //Functions |
JornD | 61:4c7de1e2f9fe | 7 | //--Controller functions; form "controller.cpp"; Complete |
JornD | 61:4c7de1e2f9fe | 8 | void InitializeControllers(void); |
JornD | 61:4c7de1e2f9fe | 9 | float Biquad(ControllerSettings& StrucName, MemoryIO& MemName, float X); |
JornD | 61:4c7de1e2f9fe | 10 | |
JornD | 61:4c7de1e2f9fe | 11 | //--EMG Processing; from "emgprocessing.cpp"; |
JornD | 61:4c7de1e2f9fe | 12 | float ProcessEMG(float X); |
JornD | 66:fa7171cf3f67 | 13 | |
JornD | 66:fa7171cf3f67 | 14 | void motorAndEncoder(float PWM1, float PWM2, float PWM3, float dt); |
JornD | 61:4c7de1e2f9fe | 15 | |
JornD | 43:9579a1afe9cb | 16 | #endif |