gotta check ctrl algo - it gives negative value
Fork of BAE_hw_test1_3 by
Diff: ACS.cpp
- Revision:
- 6:1cdbda747f99
- Parent:
- 5:4199c0dfed33
- Child:
- 9:8b74ed33be76
--- a/ACS.cpp Thu Feb 05 22:05:29 2015 +0000 +++ b/ACS.cpp Fri Feb 06 18:26:46 2015 +0000 @@ -73,7 +73,7 @@ // printf("!!!!!!!!!!Error!!!!!!!!!"); } //DCx = 25; - printf("\n\r icx :%f\n\r",DCx); + printf("\n\r icx :%f\n\r",ix); float DCy = 0; //Duty cycle of Moment in x, y, z directions float iy = 0; //Current sent in x, y, z TR's