Dependents:   RobotBase

Files at this revision

API Documentation at this revision

Comitter:
inst
Date:
Fri Nov 13 08:15:58 2015 +0000
Parent:
2:869012d317b5
Commit message:

Changed in this revision

XBee.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 869012d317b5 -r 115488d3ca1a XBee.cpp
--- a/XBee.cpp	Wed Oct 14 03:50:46 2015 +0000
+++ b/XBee.cpp	Fri Nov 13 08:15:58 2015 +0000
@@ -7,15 +7,6 @@
 #include "ShootingSystem.h"
 
 const size_t XBee::mNumOfDivDirection = 8;
-/*
-const float XBee::mDutyTable[] = {
-    0.90f, 0.10f, 0.90f, 0.90f
-};
-// 右回りがプラスで左回りがマイナス
-const float XBee::mRollCoeffTable[] = {
-    -0.90f, 0.90f, -0.10f, 0.10f
-};
-*/
 const float XBee::mDutyTable[] = {
     0.05f, 0.90f
 };
@@ -50,12 +41,6 @@
     // buf[ 2 ] : AimState
     // buf[ 3 ] : IsSupply
     int val = I2CDevice::read( buf, 4 );
-    /*
-    for ( int i = 0; i < 4; ++i ){
-        printf( "buf[ %d ] : %d, ", i, buf[ i ] );
-    }
-    printf( "\n" );
-    */
     
     Steering::ActionType action = mSteeringActionType;
     mSteeringActionType = static_cast< Steering::ActionType >( buf[ 0 ] );