Browse Source

加入cmd命令

liang 2 years ago
parent
commit
07911ef768
1 changed files with 5 additions and 5 deletions
  1. 5 5
      footRing_sdk_1.0/src/Game.cpp

+ 5 - 5
footRing_sdk_1.0/src/Game.cpp

@@ -95,14 +95,14 @@ void Game::GameProcess(int gameTime, int* right_pos_data, int* right_att_data, i
 
 
 	//*交互命令计算*/
-	//interaction.Process(gameTime, right_pos_data, right_att_data, right_acc_data, right_zupt, right_front_mag, right_back_mag,
-	//	left_pos_data, left_att_data, left_acc_data, left_zupt, left_front_mag, left_back_mag, jump, down, rssi);
+	interaction.Process(gameTime, right_pos_data, right_att_data, right_acc_data, right_zupt, right_front_mag, right_back_mag,
+		left_pos_data, left_att_data, left_acc_data, left_zupt, left_front_mag, left_back_mag, jump, down, rssi);
 
 
-	////*步频计算*/
-	//leftFootStep.stepCal(gameTime, left_zupt, left_front_mag, left_back_mag, left_acc_data);
+	//*步频计算*/
+	leftFootStep.stepCal(gameTime, left_zupt, left_front_mag, left_back_mag, left_acc_data);
 
-	//rightFootStep.stepCal(gameTime, right_zupt, right_front_mag, right_back_mag, right_acc_data);
+	rightFootStep.stepCal(gameTime, right_zupt, right_front_mag, right_back_mag, right_acc_data);
 
 	///*利用脚步抬高的高度以及步频 平衡出一个速度*/
 	//stepVel.Process(gameTime, right_pos_data, right_att_data, right_acc_data, right_zupt, right_front_mag, right_back_mag,