main

Dependents:   00_yotsuba 200_yotsuba_21 200_yotuba_21_uiChange

Revision:
15:da88e62863a1
Parent:
13:d61a64c81c16
--- a/robot.h	Fri Mar 05 06:30:37 2021 +0000
+++ b/robot.h	Sat Mar 06 07:26:44 2021 +0000
@@ -64,7 +64,7 @@
     KohiMD         *motor[4];
     Solenoid       shot;
     RCJESC         drib;
-    PID            spin;
+    PID            spin,sgoal;
     BufferedSerial pc;
     Timer          tim;
     Timer          lineOut;
@@ -73,7 +73,7 @@
     float   towardAngle;
     float   omni2wheel,omni3wheel;
     float   spin_power, motorSpeed, thisSpeed[4];
-    bool    startb=false;
+    bool    startb=false,lineflag=0;
     uint8_t i,_motorNumber;
 };