3.1.1打开Linux操作系统(如Ubuntu)

(所有操作均在Linux系统下执行)

3.1.2检查Git是否安装

3.1.3miniconda安装

(这里提供一种安装方法,也可以自己在网上找教程)

1、打开终端

2、从清华大学镜像站下载 Miniconda 安装脚本

wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh

3、使下载的脚本文件变成可执行文件

(原因:Linux 中脚本文件默认没有执行权限,需要手动添加) chmod +x Miniconda3-latest-Linux-x86_64.sh

4、运行 Miniconda 安装脚本

bash Miniconda3-latest-Linux-x86_64.sh

3.1.4Pycharm安装

3.1.5项目源码获取

1、访问代码例程

网址: https://github.com/my-robot-army/Desktop-Wanderer

2、克隆仓库

打开Pycharm克隆仓库,点击GitHub,将网址粘贴到搜索栏,进行克隆

3.1.6lerobot安装

1、打开电脑本地终端

2、安装miniforge

wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" bash Miniforge3-$(uname)-$(uname -m).sh

3、创建一个名为 "lerobot" 的新 Conda 环境,并在其中安装 Python 3.10

conda create -y -n lerobot python=3.10

4、激活lerobot环境

conda activate lerobot (首行出现lerobot……:

5、conda安装ffmpeg

conda install ffmpeg -c conda-forge

6、从GitHub克隆LeRobot项目并安装

git clone https://github.com/huggingface/lerobot.git cd lerobot pip install -e .

7、安装舵机控制SDK

pip install -e ".[feetech]"