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 <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user