Browse Source

优化脚环猜拳游戏

liang 1 year ago
parent
commit
a7b58b780d
1 changed files with 1 additions and 1 deletions
  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++)