diff --git a/README.md b/README.md index b7b0923..1d8dede 100644 --- a/README.md +++ b/README.md @@ -40,13 +40,13 @@ This project uses `ros-noetic` (Ubuntu 20.04) and requires the installation of t sudo apt install ros-noetic-teleop-twist-keyboard ros-noetic-controller-interface ros-noetic-gazebo-ros-control ros-noetic-joint-state-controller ros-noetic-effort-controllers ros-noetic-joint-trajectory-controller ros-noetic-joy ``` -Download and deploy `libtorch` at any location +Download and deploy `libtorch` at any location (Please modify **\** below to the actual path) ```bash -cd /path/to/your/libtorch +cd /libtorch wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.0.1%2Bcpu.zip unzip libtorch-cxx11-abi-shared-with-deps-2.0.1+cpu.zip -d ./ -echo 'export Torch_DIR=/path/to/your/libtorch' >> ~/.bashrc +echo 'export Torch_DIR=/libtorch' >> ~/.bashrc source ~/.bashrc ``` diff --git a/README_CN.md b/README_CN.md index 59624f1..73a055d 100644 --- a/README_CN.md +++ b/README_CN.md @@ -40,13 +40,13 @@ git clone https://github.com/fan-ziqi/rl_sar.git sudo apt install ros-noetic-teleop-twist-keyboard ros-noetic-controller-interface ros-noetic-gazebo-ros-control ros-noetic-joint-state-controller ros-noetic-effort-controllers ros-noetic-joint-trajectory-controller ros-noetic-joy ``` -在任意位置下载并部署`libtorch` +在任意位置下载并部署`libtorch`(请修改下面的 **\** 为实际路径) ```bash -cd /path/to/your/libtorch +cd /libtorch wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.0.1%2Bcpu.zip unzip libtorch-cxx11-abi-shared-with-deps-2.0.1+cpu.zip -d ./ -echo 'export Torch_DIR=/path/to/your/libtorch' >> ~/.bashrc +echo 'export Torch_DIR=/libtorch' >> ~/.bashrc source ~/.bashrc ```