0___Environment Setup - gkgkgk1215/else GitHub Wiki

Graphics Driver (confirmed in Ubuntu 20.04)

Check the recommended drivers

ubuntu-drivers devices
sudo apt-get install nvidia-driver-470

ROS

Install instructions here

Anaconda Install

Download shell script in the official webpage

cd ~/Downloads
chmod +x Anaconda3-2020.11-Linux-x86_64.sh
mv Anaconda3-2020.11-Linux-x86_64.sh ~/
cd ~/
./Anaconda3-2020.11-Linux-x86_64.sh

Create conda environment (Don't run this line if you want to install DeepLabCut since it create another env.)

conda create -n minho python=3.8

Copy libraries for ROS (dVRK)

cd /usr/lib/python3/dist-packages/
cp sip* rospkg* catkin_pkg* pypars* yaml* PyKDL* PyQt5* defusedxml Cryptodome* gnupg* ~/anaconda3/envs/minho/lib/python3.8/site-packages/ -rf

PyCharm

  • The easiest way to install is,
sudo add-apt-repository ppa:mystic-mirage/pycharm
sudo apt-get update
sudo apt-get install pycharm-community

or official way to install is,

sudo snap install pycharm-community --classic

QT creator ros

sudo apt purge qtcreator

https://www.dropbox.com/scl/fi/jxvmrnwrc4sbq4zegjeeo/qtcreator-ros-bionic-latest-offline-installer.run?rlkey=mllsy3igb6xrrg9qs49josnxg&dl=0

Right click above the file -- Permissions -- Allow executing files as program

Double click and complete the installer

echo 'export PATH=$PATH:/home/surglab/QtCreator/latest/bin' >> ~/.bashrc
  • ROS Workspace in QtCreator

Reference: https://ola-page.tistory.com/43

New Project -- Other Project -- ROS Workspace -- Choose

Name: minho, Build System: CatkinMake, Workspace Path: /home/minho/catkin_ws -- Next -- Finish