feat: 增加动作类方法
This commit is contained in:
10
main.py
10
main.py
@@ -18,11 +18,11 @@ cfg_main = toml.load('cfg_main.toml')
|
||||
# 配置日志输出
|
||||
logger.add(cfg_main['debug']['logger_filename'], format=cfg_main['debug']['logger_format'], retention = 5, level="INFO")
|
||||
|
||||
act.cmd.camera(180)
|
||||
act.cmd.x2(1, 140)
|
||||
act.cmd.storage(20)
|
||||
act.cmd.scoop(25)
|
||||
|
||||
act.axis.camera(180)
|
||||
act.axis.x2(140)
|
||||
act.axis.storage(20)
|
||||
act.axis.scoop(25)
|
||||
act.axis.exec()
|
||||
|
||||
# 向任务队列添加任务
|
||||
task_queue = queue.Queue()
|
||||
|
||||
Reference in New Issue
Block a user