From 8d0d8dec18cc9170f3fb82a4dba18160dd8e5233 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期三, 10 十二月 2025 23:24:59 +0800
Subject: [PATCH] 还原到路径第一次调通的版本,
---
STM32H743/FML/motion_path_data.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 48 insertions(+), 7 deletions(-)
diff --git a/STM32H743/FML/motion_path_data.c b/STM32H743/FML/motion_path_data.c
index 81f71cc..2974f32 100644
--- a/STM32H743/FML/motion_path_data.c
+++ b/STM32H743/FML/motion_path_data.c
@@ -6,14 +6,55 @@
#include "motion_path_data.h"
+//const float g_motion_path_xy[] = {
+//// 5.61f, -9.91f,
+//// 4.45f, -3.43f,
+//// 3.79f, -2.59f,
+//// 5.32f, -11.12f,
+//// 4.97f, -11.98f,
+//// 2.87f, -0.32f,
+//// 2.26f, 0.26f,
+//// 4.47f, -12.06f,
+//// 3.98f, -12.14f,
+// 1.77f, 0.16f,
+// 1.28f, 0.05f,
+// 3.49f, -12.22f,
+// 2.95f, -12.05f,
+// 0.79f, -0.06f,
+// 0.30f, -0.16f,
+// 2.39f, -11.76f
+//};
const float g_motion_path_xy[] = {
- 0.0f, 0.0f,
- 6.0f, 0.0f,
- 6.0f, 4.0f,
- 0.0f, 4.0f,
- -2.0f, 4.0f,
- -2.0f, 0.0f
+ 5.61f, -9.91f,
+ 4.45f, -3.43f,
+ 4.45f, -3.43f,
+ 3.79f, -2.59f,
+ 3.79f, -2.59f,
+ 5.32f, -11.12f,
+ 5.32f, -11.12f,
+ 4.97f, -11.98f,
+ 4.97f, -11.98f,
+ 2.87f, -0.32f,
+ 2.87f, -0.32f,
+ 2.26f, 0.26f,
+ 2.26f, 0.26f,
+ 4.47f, -12.06f,
+ 4.47f, -12.06f,
+ 3.98f, -12.14f,
+ 3.98f, -12.14f,
+ 1.77f, 0.16f,
+ 1.77f, 0.16f,
+ 1.28f, 0.05f,
+ 1.28f, 0.05f,
+ 3.49f, -12.22f,
+ 3.49f, -12.22f,
+ 2.95f, -12.05f,
+ 2.95f, -12.05f,
+ 0.79f, -0.06f,
+ 0.79f, -0.06f,
+ 0.30f, -0.16f,
+ 0.30f, -0.16f,
+ 2.39f, -11.76f
};
-
const HIDO_UINT32 g_motion_path_point_count = sizeof(g_motion_path_xy) / (sizeof(float) * 2U);
--
Gitblit v1.10.0