项目简介
开源机器人自动化项目,旨在简化重复性任务的自动化过程,提供了基于LeRobot仓库的辅助脚本集合,支持多模型联动解决复杂机器人任务
安装
-
如果您没有安装乐机器人,请安装:
git clone https://github.com/huggingface/lerobot.git
cd lerobot
pip install -e .
2 将简单自动化脚本克隆到另一个文件夹
git clone https://github.com/1g0rrr/SimpleAutomation.git
cd SimpleAutomation
3 在“core/configs/robot/so100.yaml”中为您的机器人设置端口。
运行
使用多个 ACT 模型来解决复杂的机器人任务。
例如,在灯测试演示中,我们组合了 3 个模型:
-
用于从随机位置获取灯
-
用于精确插入测试仪
-
用于对工作/不工作灯泡进行分类
运行评估
python core/models_chain.py evaluate \
--robot-path core/configs/robot/so100.yaml \
--chain-path core/configs/chains/lamp_testing.yaml
使用LLM代理运行模型
python core/models_chain.py llm_agent \
--robot-path core/configs/robot/so100.yaml
运行录音
python core/models_chain.py record \
--robot-path core/configs/robot/so100.yaml \
--fps 30 \
--root data \
--repo-id 1g0rrr/koch_test21 \
--tags tutorial \
--warmup-time-s 5 \
--episode-time-s 5 \
--reset-time-s 5 \
--num-episodes 2
运行远程操作:
用它来测试是否一切正常。
python core/models_chain.py teleoperate \
--robot-path core/configs/robot/so100.yaml \
--robot-overrides '~cameras'
提示
训练
在 Google Colab 中训练模型:
您可以在 Google Colab 中建模以节省时间。https://colab.research.google.com/github/1g0rrr/SimpleAutomation/blob/main/colab/SimpleAutomationTrainModel.ipynb
硬件