modify default body_id

This commit is contained in:
2025-11-21 18:24:20 +08:00
parent 2208fc1ff2
commit 5dcb7f65a1

View File

@@ -555,7 +555,7 @@ def build_ui(node: CtrlGuiNode) -> None:
data_type = 3
data_length = 14
text = f"body_id: 0\ndata_type: {data_type}\ndata_length: {data_length}\ncommand_id: 0\nframe_time_stamp: {node.get_clock().now().to_msg().sec}\ndata_array: [{arm_inputs['left'].value}, {arm_inputs['right'].value}]\n"
text = f"body_id: 2\ndata_type: {data_type}\ndata_length: {data_length}\ncommand_id: 0\nframe_time_stamp: {node.get_clock().now().to_msg().sec}\ndata_array: [{arm_inputs['left'].value}, {arm_inputs['right'].value}]\n"
# send_action_package(action_name, text)
rebuild_now("Remote", action_name, text)