(八)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_posi = ± target_posi + 0

target_pos0 = -target_pos0 - 0.838 # =0

target_pos1 = target_pos1 - 1.81 # =-3.14

target_pos2 = target_pos2 + 1.1 # =3.14

target_pos3 = target_pos3 - 1.413 # =0.817

target_pos4 = target_pos4 - 2.23 # =0

target_pos5 = target_pos5 - 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

相关推荐
冬奇Lab13 小时前
Agent 系列(17):Harness Engineering——给自主 Agent 装上安全护栏
人工智能·llm·agent
鸿栢男子焊胡工14 小时前
汽车焊装线如何实现零漏焊?深度拆解 PIDS-A20AT 自动螺柱焊机全链路防错体系
人工智能·汽车·鸿栢科技
七老板的blog14 小时前
当 Spring StateMachine 遇见大模型:构建工业级 AI 写作流水线
java·人工智能·spring
Sirius Wu14 小时前
意图&实体ToolCall_Prompt调优
人工智能·机器学习·语言模型·prompt·aigc
一叶知秋dong14 小时前
Stable diffusion 工作原理
人工智能·深度学习·stable diffusion
zhumin72614 小时前
一种基于人类行为—内分泌映射的大语言模型动态情绪系统:从生理数据标定到虚拟激素驱动决策的工程化框架
人工智能·语言模型·自然语言处理
云烟成雨TD14 小时前
Spring AI 1.x 系列【46】MCP Security 模块
java·人工智能·spring
CRMEB系统商城14 小时前
CRMEB多商户系统(Java)v2.3公测版发布
java·开发语言·人工智能·小程序·开源·php
Samooyou15 小时前
RAG项目案例--02在线检索&过滤流水线
人工智能·python·ai·全文检索·检索