-
Notifications
You must be signed in to change notification settings - Fork 1
Getting started
Welcome to the Robotics-Workshop wiki!
The following steps show how to install each component. Please contact the instructor team in the case that you encountered any problem.
You need to have Python and pip tool installed. Open a terminal and type:
python -VIf you see this Python version or higher, continue.
Python 3.7.0
Pip tool should already be installed in this Python version or higher.
If you have already installed Python 3.7, you may skip this part.
- Open a terminal and start by updating the packages list and installing the prerequisites:
sudo apt update
sudo apt install software-properties-common- Next, add the deadsnakes PPA to your sources list:
sudo add-apt-repository ppa:deadsnakes/ppaWhen prompted press Enter to continue.
- Once the repository is enabled, install Python 3.7 with:
sudo apt install python3.7- At this point, Python 3.7 is installed on your Ubuntu system and ready to be used. You can verify it by typing:
python3.7 --versionPipenv is a tool that automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your Pipfile as you install/uninstall packages. In simple terms, pipenv helps you to install dependencies for your project without overwriting packages from other projects.
In order to install pipenv, type the following in your terminal:
pip install pipenv --usergit clone https://github.com/ExistentialRobotics/robotics-workshop.git
cd robotics-workshop
pipenv install --skip-lock
pipenv shellPyCharm is an Integrated Development Environment (IDE) used for programming in Python. You can execute the demo scripts via PyCharm terminal instead of activating robotics-workshop virtual environment.
- Go to the PyCharm download page.
- Select the proper operating system and choose the Community version.
- Download the .zip file and unpack it. You will find a folder named
pycharm-community-2020.X.X. - In order to start PyCharm, follow the below steps:
- Open a terminal.
- Change directory to
pycharm-community-2020.X.X/bin. - Run
./pycharm.shin your terminal.