NHK2017 octopus robot

Dependencies:   2017NHKpin_config mbed FEP ikarashiMDC PID jy901 omni HMC6352 omni_wheel

Fork of KANI2017v2 by NagaokaRoboticsClub_mbedTeam

Revision:
2:ea151e05033a
Parent:
1:269914e0aa07
Child:
5:bc5ba4f070ad
--- a/bot/bot.cpp	Tue Aug 22 05:07:57 2017 +0000
+++ b/bot/bot.cpp	Tue Aug 22 11:56:47 2017 +0000
@@ -1,18 +1,18 @@
 #include "bot.h"
 
-Bot::Bot() : Controller(), MotorDriver()
+Bot::Bot() : Controller(), MotorDriver(), PIDC()
 {
 }
 
 void Bot::confirmAll()
 {
     receiveState();
-
+    if(vector2[1] > 0.5)setSetPoint(vector2[0]);
 }
 
 void Bot::controllDrive()
 {
-    goPolar(vector, stick[2]);
+    goPolar(vector, co);
 }
 
 void Bot::controllMech()