Robotics Term Project / Mbed 2 deprecated Robottics_Motion

Dependencies:   mbed

Revision:
32:fb8f40fde82c
Parent:
31:6a894ff3ed18
Child:
33:587e6dc249b8
--- a/AI_Friday.cpp	Thu May 26 11:40:02 2016 +0000
+++ b/AI_Friday.cpp	Thu May 26 11:41:55 2016 +0000
@@ -132,9 +132,7 @@
     else Distance_Target = Distance_Target;
             
     //y_position_car_1
-    Y_Position_1 = (Receive_Data[13]-0x30)*100 + (Receive_Data[14]-0x30)*10 + (
-    
-    _Data[15]-0x30);
+    Y_Position_1 = (Receive_Data[13]-0x30)*100 + (Receive_Data[14]-0x30)*10 + (Receive_Data[15]-0x30);
             
     if(Receive_Data[12] == '-')Distance_Target = -1* Distance_Target;
     else Distance_Target = Distance_Target;