From 527d2e9be4bcb29a70ce81a7eb5a6b1b8161124e Mon Sep 17 00:00:00 2001 From: Robofish <1683502971@qq.com> Date: Thu, 12 Mar 2026 00:14:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/copilot-instructions.md | 6 ++++++ User/module/config.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..139e11a --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,6 @@ +--- +description: 当助手已完成当前请求的工作、准备结束回复或不再有明确下一步可执行内容时,必须先调用提问工具 askQuestions 获取进一步指示;不得直接结束对话。 / When the assistant has completed the current task and is about to end the reply or has no clear next action, it must call the askQuestions tool to obtain further instructions instead of ending the conversation. +applyTo: ‘当检测到回复将以收尾语句结束或无后续动作时 / When a reply is about to end with a closing statement or has no follow-up action’ +--- +当你完成工作时,请调用提问工具(askQuestions)来获取进一步的指示,而不是直接结束对话。 +When you finish the task, call the askQuestions tool to request further instructions instead of ending the conversation. \ No newline at end of file diff --git a/User/module/config.c b/User/module/config.c index 6fa9df7..0aaff69 100644 --- a/User/module/config.c +++ b/User/module/config.c @@ -66,7 +66,7 @@ Config_RobotParam_t robot_config = { }, .mech_zero = { .yaw = 0.0f, - .pit = 0.137291431f, + .pit = 3.23056364f, }, .travel = { .yaw = -1.0f, @@ -312,7 +312,7 @@ Config_RobotParam_t robot_config = { .wheel_radius = 0.068f, .wheel_gear_ratio = 4.5f, .hip_width = 0.423f, /* 髋宽,即两腿间距 (m),用于Roll几何补偿 */ - .joint_zero = {0.0f, 0.0f, 1.32422018f, 1.16195965f}, /* 关节电机零点偏移 */ + .joint_zero = {0.0f, 0.0f, 1.33022018f, 1.13195965f}, /* 关节电机零点偏移 */ .mech_zero_yaw = 2.96925735f, /* 机械零点 */ },