Robotics Term Project / Mbed 2 deprecated Robottics_Motion

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
smilestone520
Date:
Thu May 26 11:41:55 2016 +0000
Parent:
31:6a894ff3ed18
Child:
33:587e6dc249b8
Commit message:
hahaha;

Changed in this revision

AI_Friday.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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;