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:
- 25:1292b886b8d2
- Parent:
- 24:2e56d3bebb24
- Child:
- 26:c4372c518ac3
diff -r 2e56d3bebb24 -r 1292b886b8d2 main.cpp --- a/main.cpp Wed May 06 17:14:00 2015 +0000 +++ b/main.cpp Mon May 11 21:47:16 2015 +0000 @@ -33,6 +33,7 @@ { dbg.reset(); //dataOut[1]=encoder_L.readRaw(); + //Get values of left hip angle and torso angle float f1 = encoder_L.read_angle(); float f2 = fsm.read_angle_y(); @@ -51,6 +52,7 @@ if (dataIn[1] != 0) { pc.printf("UI: %d\r\n", dataIn[1]); } + //Sends message received from the ctrlbed to the dataComm object dc.process_write(dataIn+2, 7); //pc.printf("%d, %d, %d, %d,", dataIn[0], dataIn[1], dataIn[2], dataIn[3]);