From 848b4ed51f8f0bdad6608790a3073a00142f7a7f Mon Sep 17 00:00:00 2001 From: FallenSigh Date: Fri, 19 Jun 2026 10:22:52 +0800 Subject: [PATCH] fix(tools): apply same J1 motor reversal fix to udp_control.py tools/udp_control.py had its own to_udp_message() that was missed in previous fixes. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- tools/udp_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/udp_control.py b/tools/udp_control.py index 73b9c57..0858771 100644 --- a/tools/udp_control.py +++ b/tools/udp_control.py @@ -103,7 +103,7 @@ class ArmJointState: def to_udp_message(self) -> bytes: return ( - f"JXB:{self.height}:{self.j2}:{self.j3}:{self.j4}:" + f"JXB:{-self.height - 290}:{self.j2}:{self.j3}:{self.j4}:" f"{self.j5}:{self.j6}:0:0:EZHY\n" ).encode("utf-8")