mkdir -p ~/Desktop/ros_ws/src/
cd ~/Desktop/ros_ws/src/
git clone https://github.com/fan-ziqi/rl_sar.git
sudo apt install liblcm-dev libyaml-cpp-dev
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
mkdir -p ~/Documents/
cd ~/Documents/
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 ./
rm ~/Documents/libtorch/libtorch-*.zip
cd -
# PyTorch C++ Binding
export TORCH_DIR=/home/tk/Documents/libtorch/
export Torch_DIR=/home/tk/Documents/libtorch/
# cd ./ros_ws/
catkin build
source ./devel/setup.bash
roslaunch rl_sar gazebo_a1_isaacgym.launch