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

相关推荐
TGITCIC7 分钟前
金融RAG落地之痛:不在模型,而在数据结构
人工智能·ai大模型·ai agent·ai智能体·开源大模型·金融ai·金融rag
chenzhiyuan20183 小时前
《十五五规划》下的AI边缘计算机遇:算力下沉与工业智能化
人工智能·边缘计算
whaosoft-1434 小时前
51c深度学习~合集11
人工智能
Tiandaren4 小时前
大模型应用03 || 函数调用 Function Calling || 概念、思想、流程
人工智能·算法·microsoft·数据分析
领航猿1号4 小时前
Pytorch 内存布局优化:Contiguous Memory
人工智能·pytorch·深度学习·机器学习
综合热讯5 小时前
宠智灵宠物识别AI:从犬猫到鸟鱼的全生态智能识别
人工智能·宠物
zskj_zhyl5 小时前
智慧康养新篇章:七彩喜如何重塑老年生活的温度与尊严
大数据·人工智能·科技·物联网·生活
永霖光电_UVLED5 小时前
IVWorks率先将8英寸GaN纳米线片商业化
人工智能·神经网络·生成对抗网络
如何原谅奋力过但无声6 小时前
TensorFlow 2.x常用函数总结(持续更新)
人工智能·python·tensorflow
曾小蛙6 小时前
【ROS2+深度相机】在Ubuntu安装realsense-ros
ubuntu·realsense-ros·ros2 humble·d435