Browse Source

20221116 测量rabbitmq消息中心xy使用旋转后数据

yct 2 years ago
parent
commit
967c4e8166
1 changed files with 2 additions and 2 deletions
  1. 2 2
      测量节点/system/system_executor.cpp

+ 2 - 2
测量节点/system/system_executor.cpp

@@ -631,8 +631,8 @@ Error_manager System_executor::encapsulate_send_mq_status()
 		{
 			// rabbitmq new measure info
 			measure_info t_multi_measure_info_msg;
-			t_multi_measure_info_msg.set_cx(t_car_wheel_information.car_center_x);
-			t_multi_measure_info_msg.set_cy(t_car_wheel_information.car_center_y);
+			t_multi_measure_info_msg.set_cx(t_car_wheel_information.uniform_car_x);
+			t_multi_measure_info_msg.set_cy(t_car_wheel_information.uniform_car_y);
 			t_multi_measure_info_msg.set_theta(t_car_wheel_information.car_angle);
 			t_multi_measure_info_msg.set_length(0.0f);
 			t_multi_measure_info_msg.set_width(t_car_wheel_information.car_wheel_width);