6 lines
222 B
Python
6 lines
222 B
Python
from fairino import Robot
|
|
|
|
# 与机器人控制器建立连接,连接成功返回一个机器人对象
|
|
robot = Robot.RPC('192.168.58.2')
|
|
error = robot.PointTableSwitch("point_table_a.db")
|
|
print("PointTableSwitch:",error) |