OSDN Git Service

キャリブレーションしなくてもある程度動くように初期値を調整
[tondenhei/et2013.git] / ETBalanceRunner.cpp
index 47d2855..f531b78 100644 (file)
@@ -11,7 +11,7 @@ namespace ecrobot{
 \r
 ETBalanceRunner::ETBalanceRunner(Motor& motorL, Motor& motorR, GyroSensor& gyro, Nxt& nxt)\r
        : m_motorL(motorL), m_motorR(motorR), m_gyro(gyro), m_nxt(nxt),\r
-       m_bInitialized(false), m_gyrooffset(610), m_bException(false), m_msec(0)\r
+       m_bInitialized(false), m_gyrooffset(590), m_bException(false), m_msec(0)\r
 {\r
 }\r
 ETBalanceRunner::~ETBalanceRunner(void)\r