feat: 增加动作类方法

This commit is contained in:
bmy
2024-06-17 17:19:18 +08:00
parent d340ad044d
commit 1ac91b678b
3 changed files with 77 additions and 32 deletions

10
main.py
View File

@@ -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()