5 lines
171 B
Python
5 lines
171 B
Python
import Robot
|
|
# 与机器人控制器建立连接,连接成功返回一个机器人对象
|
|
robot = Robot.RPC('192.168.58.2')
|
|
error = robot.GetDHCompensation()
|
|
print(error) |