- download webots_2021a_amd64.deb from https://github.com/cyberbotics/webots/releases/tag/R2021a
- install webots and other packages
$ sudo dpkg -i webots_2021a_amd64.deb
$ sudo echo "export WEBOTS_HOME=/usr/local/webots" >> ~/.bashrc
$ source ~/.bashrc
$ sudo apt-get install libeigen3-dev
$ sudo apt-get install ros-noetic-webots-ros
$ sudo apt-get install ros-noetic-joy
$ cd ~/catkin_ws/src
$ git clone https://github.com/TaoYibo1866/uav_simulator.git
$ cd ~/catkin_ws
$ catkin_make
$ roslaunch uav_webots joy_control.launch