This commit is contained in:
cheng
2026-06-08 17:52:48 +08:00
commit 7a15bd8e14
189 changed files with 192687 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from changingtek_p_rtu_Servo import MotorController
PORT = "COM3"
SLAVE_ID = 1
if __name__ == "__main__":
sdk = MotorController(PORT, SLAVE_ID, baudrate=115200, timeout=1.0)
print("Reading gripper position...")
print("position:", sdk.read_real_position())