ROBOSTEP_5期 / Mbed 2 deprecated George_Master_Param

Dependencies:   mbed robot

Revision:
35:04699b49c463
Parent:
34:0a8ae7f92262
Child:
37:ae343f310692
Child:
38:89d2a9e6c96f
--- a/main.cpp	Mon May 13 11:55:08 2019 +0000
+++ b/main.cpp	Wed May 15 06:48:23 2019 +0000
@@ -178,13 +178,16 @@
     {
         
         SetMode();
+        hand_mode = G_CLOSE;
         NoHandSignal();
     }
     else
     {
         SetMode();
+        hand_mode = G_OPEN;
+        stop();//ここで開くことをcanでslaveに送る
         wait_gerege();
-        hand_mode = GEREGE;
+        hand_mode = G_CLOSE;
         HandMove();
         wait(0.5);
     }