From 2f81d245926a2e8e43be4d376fc441298878b10c Mon Sep 17 00:00:00 2001 From: cxh Date: Thu, 12 Jun 2025 10:13:50 +0800 Subject: [PATCH] Auto commit at 2025-06-12 10:13:50 --- src/radio_ctrl/src/radio_ctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radio_ctrl/src/radio_ctrl.cpp b/src/radio_ctrl/src/radio_ctrl.cpp index 7b1f012..c3017d7 100644 --- a/src/radio_ctrl/src/radio_ctrl.cpp +++ b/src/radio_ctrl/src/radio_ctrl.cpp @@ -192,7 +192,7 @@ private: uint16_t raw_value = static_cast((msg->data[3] << 8) | msg->data[4]); // 数据偏移:减去1024并除以5,得到角度(单位:度) - current_feedback_angle = (raw_value - 1024) / 5.0f; + current_feedback_angle = (raw_value - 1024) / 7.0f; } }