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: FreescaleIAP mbed-rtos mbed
Fork of RAJANGAM_REVIEW_BAE_CODE by
Diff: ACS.h
- Revision:
- 49:61c9f28332ba
- Parent:
- 20:949d13045431
--- a/ACS.h Fri Jul 08 08:25:39 2016 +0000 +++ b/ACS.h Thu Jul 14 23:04:26 2016 +0000 @@ -5,7 +5,7 @@ //........................................... #define TIME_PERIOD 0.02 #define TR_CONSTANT 0.3 -#define sampling_time 10 +#define sampling_time 5 #define kdetumble 2000000 #define MmntMax 1.1 // Unit: Ampere*Meter^2 #define OmegaMax 1*3.1415/180.0 // Unit: Radians/Second @@ -18,7 +18,7 @@ void FCTN_ACS_GENPWM_MAIN(float*); void FCTN_ACS_CNTRLALGO(float*,float*,float*,uint8_t,uint8_t,uint8_t); -void controlmodes(float*,float*, float*, float*, uint8_t,uint8_t); +void controllermodes(float*,float*, float*, float*, uint8_t,uint8_t); void inverse(float mat[3][3],float inv[3][3]); extern void FLAG();