Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.87 KB

README.md

File metadata and controls

59 lines (46 loc) · 1.87 KB

RobertTheRobot

Robert the hardware mobile robot

License

Docker

For convenience it is recommended to use Docker containers. Please follow these steps to run Docker container on your machine.

  1. Install Desktop OS Ubuntu Trusty or Xenial on your machine or in virtual machine
  2. Install Docker-CE using these instructions
  3. In order to executed Docker without sudo please execute
sudo usermod -aG docker $USER
  1. Logout and login to your machine again :)
  2. For development the following docker container was used.
  3. To pull it please run
docker pull lyubomyrd/roberttherobot:latest
  1. Use the following command to start Docker container
docker run -it --privileged --name rtr_dev -p 8080:8080 -e DISPLAY -e LOCAL_USER_ID=$(id -u) -v /tmp/.X11-unix:/tmp/.X11-unix:rw lyubomyrd/roberttherobot:latest
  1. Black window of Terminator UI console will appear after some time.
  2. You can use it's features to split terminal window into smaller terminals and run few commands in parallel (Ctrl+Shift+E).
  3. If you want to run real robot add user to dialout group and restart Docker container
sudo usermod -a -G dialout $USER

In order to relaunch docker container after you closed Terminator window or rebooted machine please run

docker start rtr_dev

After some time Terminator window will reappear.

IDEs

In case if you want to run PyCharm in Docker container please run

pycharm

To launch QtCreator please run

qtcreator

For VSCode type

vscode