0___Environment Setup - gkgkgk1215/else GitHub Wiki
ROS
Install instructions here
ROS2
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.10 (for Isaac Sim)
Copy libraries for ROS, etc
cd /usr/lib/python3/dist-packages/
cp sip* rospkg* catkin_pkg* pypars* PyKDL* PyQt5* defusedxml Cryptodome* gnupg* yaml* _yaml* ~/anaconda3/envs/minho/lib/python3.10/site-packages/ -rf
VS Code
- Download .deb files from the website: https://code.visualstudio.com/download
cd ~/Downloads
sudo dpkg -i code_1.91.1-1720564633_amd64.deb
-
Install Extensions: Python, etc
-
Select interpreter using Ctrl+Shift+P (Command Palette)
-
Add environment variables to .bash file
export PYTHONPATH=$PYTHONPATH:/home/minho/vsprojects
PyCharm
sudo snap install pycharm-community --classic
QT creator ros
sudo apt purge qtcreator
- Download offline installer: https://ros-qtc-plugin.readthedocs.io/en/latest/_source/How-to-Install-Users.html
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