1 Star 0 Fork 4

乌云写满咒语/GU_Drone

forked from Jiannan Zhao/GU_Drone 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
scheduler.py 460 Bytes
一键复制 编辑 原始数据 按行查看 历史
cqu_zjn 提交于 2021-08-16 17:23 . 初代框架
class sched_task: #还没想好要不要用这个方式
def __init__(self) -> None:
self.sched_tasks = {
'move_forward': 200,
'take_image': 500,
'processing_image': 500
}
class Scheduler():
def __init__(self) -> None:
self.loop_count = 0
def Get_current_loop_count(self):
print(self.loop_count)
return
def Run(self):
self.loop_count +=1
return
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/drone1024/gu_-drone.git
git@gitee.com:drone1024/gu_-drone.git
drone1024
gu_-drone
GU_Drone
master

搜索帮助