![](/media/cache/group/nine_tails_kurama_by_zubair43-d4zyf5s.jpg.50x50_q85.jpg)
FINAL ACS TO BE USED FOR TESTING. COMMISSIONING, ACS MAIN, DATA ACQ ALL DONE.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of ACS_FULL_Flowchart_BAE by
Diff: ACS.h
- Revision:
- 18:21740620c65e
- Parent:
- 17:1e1955f3db75
- Child:
- 19:403cb36e22ed
diff -r 1e1955f3db75 -r 21740620c65e ACS.h --- a/ACS.h Thu Jun 09 14:12:55 2016 +0000 +++ b/ACS.h Mon Jun 13 13:44:31 2016 +0000 @@ -9,13 +9,14 @@ #define kdetumble 2000000 #define MmntMax 1.1 // Unit: Ampere*Meter^2 #define OmegaMax 1*3.1415/180.0 // Unit: Radians/Second +#define ACS_DEMAG_TIME_DELAY 20 #define senstivity_gyro 6.5536; //senstivity is obtained from 2^15/5000dps #define senstivity_mag 32.768; //senstivity is obtained from 2^15/1000microtesla #define senstivity_time 32; //senstivity is obtained from 2^16/2048dps void FCTN_ACS_GENPWM_MAIN(float*); -void FCTN_ACS_CNTRLALGO(float*,float*); +void FCTN_ACS_CNTRLALGO(float*,float*,int); void controlmodes(float*, float*, float*, uint8_t); void inverse(float mat[3][3],float inv[3][3]); extern void FLAG();