Giter Club home page Giter Club logo

robert's Introduction

Robert

Robert 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 ucuapps/robert:latest
  1. Use the following command to start Docker container
docker run -it --name robert_dev -p 8080:8080 -e DISPLAY -e LOCAL_USER_ID=$(id -u) -v /tmp/.X11-unix:/tmp/.X11-unix:rw ucuapps/robert: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 robert_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

URDF and RViz

In order to debug URDF please launch

roslaunch robert_launch view_urdf.launch

To have a look on the state of the robot in RViz run

roslaunch robert_launch rviz.launch

Navigating on known map

Start office simulation

roslaunch robert_launch simulation.launch

Start UCU simulation

roslaunch robert_launch simulation.launch world_file:=ucu

Launch navigation stack (in order to launch second command split Terminator window by two using Ctrl-Shift-E. More information on Terminator shortcuts can be found here)

roslaunch robert_launch navigation.launch

Start navigation in UCU simulation

roslaunch robert_launch navigation.launch map_file:=ucu

In RViz which appear after some time select "2D Nav Goal" and robot will travel to it. Like it is shown in this video.

Building the map

Start simulation

roslaunch robert_launch simulation.launch

Launch gmapping node

roslaunch robert_launch gmapping.launch

Start Robot Steering RQT plugin to drive robot around

rosrun rqt_robot_steering rqt_robot_steering 

Save map to file

rosrun map_server map_saver -f <map_file_name>

robert's People

Contributors

lanastasiia avatar v-lavrushko avatar sofiia-tesliuk avatar andriypt avatar deathtanks avatar lyubomyrd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.