Corrected header file include guards.
Dependencies: FiniteStateMachine HipControl Knee LinearBlend1 LocalFileSystem_Read dataComm hapticFeedback initExoVars mbed Blend_Generator Brad_poly_gait Gait_Generator MM_gait Encoders IMUdriver
Fork of Motion Control by
Diff: main.cpp
- Revision:
- 22:357327fe25af
- Parent:
- 21:715c8cf78e14
- Child:
- 23:e0923403be2f
--- a/main.cpp Wed Apr 15 01:51:46 2015 +0000 +++ b/main.cpp Fri Apr 24 19:35:18 2015 +0000 @@ -31,14 +31,15 @@ float f1 = encoder_L.read_angle(); float f2 = fsm.read_angle_y(); dataOut[1] = (short)f1; - dataOut[2] = (short)f1; - dataOut[3] = (short)f1; - dataOut[4] = (short)f2; - dataOut[5] = (short)f2; + dataOut[2] = (short)f2; + //dataOut[3] = (short)f1; + //dataOut[4] = (short)f2; + //dataOut[5] = (short)f2; //pc.printf("%f\r\n", f1); - //pc.printf("%d\r\n", (short)f1); + //pc.printf("data1: %d\r\n", dataOut[1]); //pc.printf("%f\r\n", f2); - //pc.printf("%d\r\n", (short)f2); + //pc.printf("Size %d\r\n", sizeof dataOut[2]); + //pc.printf("data2: %d\r\n", dataOut[2]); //for (int i = 2; i < 4; i++) { // pc.printf("data%d is %x\r\n", i, dataOut[i]); //}