From b3f59bf55a04681e463e9a76cc215caeaebd741f Mon Sep 17 00:00:00 2001 From: Tamagoham Date: Sat, 29 Jun 2024 14:23:00 +0900 Subject: [PATCH] :warning: normalized diff theta --- visionreceive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visionreceive.go b/visionreceive.go index 8ab0815..d328854 100644 --- a/visionreceive.go +++ b/visionreceive.go @@ -624,7 +624,7 @@ func VisionReceive(chvision chan bool, port int, ourteam int, goalpos int, simmo robot_difference_X[i] = filtered_robot_x[i] - pre_robot_X[i] robot_difference_Y[i] = filtered_robot_y[i] - pre_robot_Y[i] - robot_difference_Theta[i] = filtered_robot_theta[i] - pre_robot_Theta[i] + robot_difference_Theta[i] = Calc_degree_normalize(filtered_robot_theta[i] - pre_robot_Theta[i]) rdX64[i] = float64(robot_difference_X[i]) rdY64[i] = float64(robot_difference_Y[i])