(八)lerobot开源项目扩展so100的仿真操控(操作记录)

一、项目地址

复制代码
git clone https://gitee.com/mrqiguan/lerobot_so100_sim.git

二、环境配置

复制代码
conda create -n lerobot_so100_sim --clone lerobot  # 在lerobot环境里安装下面的包即可
conda activate lerobot_so100_sim

pip install rl_zoo3
pip install git+https://github.com/perezjln/gym-lowcostrobot.git

三、仿真操控

复制代码
conda activate lerobot_so100_sim
sudo chmod 777 /dev/ttyACM0

1、在mujoco里控制so100模型

复制代码
python 1_so100_feetech_mujoco_control_sim.py

2、利用实机控制mujoco的so100模型

复制代码
python 2_so100_feetech_mujoco_control_realTosim.py

注意:根据实机,修改2_so100_feetech_mujoco_control_realTosim.py,改变机械臂当前运动状态,观察符号(转向)和偏移值(置0),修改参数直到和初始位置符合

initial post [0 -3.14 3.14 0.817 0 -0.157]

Adjust the plus-minus sign and the offsets

target_pos[i] = ± target_pos[i] + 0

target_pos[0] = -target_pos[0] - 0.838 # =0

target_pos[1] = target_pos[1] - 1.81 # =-3.14

target_pos[2] = target_pos[2] + 1.1 # =3.14

target_pos[3] = target_pos[3] - 1.413 # =0.817

target_pos[4] = target_pos[4] - 2.23 # =0

target_pos[5] = target_pos[5] - 0.626 # =-0.157

四、参考链接

jpata/gym-so100 at integrationhttps://github.com/jpata/gym-so100/tree/integrationmichel-aractingi/Sim-LeRobotHackathon: This simulation environment that will be used for the LeRobot Hackathon 2024.https://github.com/michel-aractingi/Sim-LeRobotHackathon?tab=readme-ov-file

相关推荐
liliangcsdn1 分钟前
结合prompt分析NodeRAG的build过程
java·服务器·人工智能·数据分析·知识图谱
东方不败之鸭梨的测试笔记1 分钟前
LangChain: Models, Prompts 模型和提示词
人工智能·python·langchain
初恋叫萱萱3 分钟前
AI驱动开发实战:基于飞算JavaAI的在线考试系统设计与实现
人工智能
云的牧人9 分钟前
Ubuntu 22 redis集群搭建
linux·运维·ubuntu
yzx9910139 分钟前
图像去雾:从暗通道先验到可学习融合——一份可跑的 PyTorch 教程
人工智能·pytorch·学习
博大世界19 分钟前
解剖智驾“大脑”:一文读懂自动驾驶系统软件架构
人工智能·机器学习·自动驾驶
大熊猫侯佩23 分钟前
苹果 AI 探秘:代号 “AFM” —— “温柔的反叛者”
人工智能·sft·ai 大模型·apple 本地大模型·foundationmodel·苹果智能·applebot
AI Echoes38 分钟前
别再手工缝合API了!开源LLMOps神器LMForge,让你像搭积木一样玩转AI智能体!
人工智能·python·langchain·开源·agent
AI Echoes41 分钟前
从零构建企业级LLMOps平台:LMForge——支持多模型、可视化编排、知识库与安全审核的全栈解决方案
人工智能·python·langchain·开源·agent
Coovally AI模型快速验证41 分钟前
无人机小目标检测新SOTA:MASF-YOLO重磅开源,多模块协同助力精度飞跃
人工智能·yolo·目标检测·机器学习·计算机视觉·无人机