Explorar el Código

优化脚环猜拳游戏

liang hace 2 años
padre
commit
a7b58b780d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      footRing_sdk_1.0/src/FingerGuessing.cpp

+ 1 - 1
footRing_sdk_1.0/src/FingerGuessing.cpp

@@ -246,7 +246,7 @@ void FingerGuessing::Process(int time_stamp, int* right_pos, int* right_att, int
 			int right_max_acc = *max_element(right_acc_vec.begin(), right_acc_vec.end());
 			int right_min_acc = *min_element(right_acc_vec.begin(), right_acc_vec.end());
 
-			if (max_rssi < 30 && left_max_acc - left_min_acc < 510 && right_max_acc - right_min_acc < 510)
+			if (max_rssi < 25 && left_max_acc - left_min_acc < 510 && right_max_acc - right_min_acc < 510)
 			{
 				std::cout << "test" << endl;
 				for (int i = 0; i < 50; i++)