Skip to content

Getting started

trumantnt edited this page Apr 6, 2021 · 15 revisions

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.

Check Python version

You need to have Python and pip tool installed. Open a terminal and type:

python -V

If you see this Python version or higher, continue.

Python 3.7.0

Pip tool should already be installed in this Python version or higher.

Python 3.7

If you have already installed Python 3.7, you may skip this part.

  1. Open a terminal and start by updating the packages list and installing the prerequisites:
sudo apt update
sudo apt install software-properties-common
  1. Next, add the deadsnakes PPA to your sources list:
sudo add-apt-repository ppa:deadsnakes/ppa

When prompted press Enter to continue.

  1. Once the repository is enabled, install Python 3.7 with:
sudo apt install python3.7
  1. 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 --version

Pipenv

Pipenv 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 --user

Installing Python Packages

git clone https://github.com/ExistentialRobotics/robotics-workshop.git
cd robotics-workshop
pipenv install --skip-lock
pipenv shell

PyCharm (Optional)

PyCharm 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.

  1. Go to the PyCharm download page.
  2. Select the proper operating system and choose the Community version.
  3. Download the .zip file and unpack it. You will find a folder named pycharm-community-2020.X.X.
  4. In order to start PyCharm, follow the below steps:
  • Open a terminal.
  • Change directory to pycharm-community-2020.X.X/bin.
  • Run ./pycharm.sh in your terminal.

Clone this wiki locally