Pārlūkot izejas kodu

优化脚环猜拳游戏

liang 2 gadi atpakaļ
vecāks
revīzija
a7b58b780d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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++)