瀏覽代碼

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

yct 2 年之前
父節點
當前提交
967c4e8166
共有 1 個文件被更改,包括 2 次插入2 次删除
  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);