Giter Site home page Giter Site logo

turtlebot-tutorial-2d-map-asanka's Introduction

This tutorial shows how to create a custom model (maze) and add to an existing world. Model is a keyword used to refer a virtual object in Gazebo. You can add any model from the existing models in Gazebo. Many models are available to be used in simulations.

https://www.youtube.com/watch?v=J_vasKVhUQM

image

These steps are demonstrated in the video.

  1. Create a new package called my_simulation.

  2. Copy .launch and .world files from turtlebo3_empty_world simulation to my_simulation, and edit them.

  3. Create my_maze model using the Building Editor in Gazebo. After you saved the model (in /home/master/.gazebo/models/my_maze) you will see two files inside my_maze folder (.config and .sdf). They are configuration and simulation description format files. Any object in Gazebo is described with these two files. If you want to modify an object you have to edit these files manually or modify the object in a GUI and save it updating these files.

  4. For this tutorial, you are creating only four files to complete your maze.

Your simulation package

  • /home/catkin_ws/src/my_simulations/worlds/empty_world.world
  • /home/catkin_ws/src/my_simulations/launch/my_world.launch

Your maze model

  • /home/master/.gazebo/models/my_maze/model.config
  • /home/master/.gazebo/models/my_maze/model.sdf
  1. Next, you have to modify your .world file to include my_maze model.

Software used for this tutorial:

  • Ubuntu 16.04 running on VirtualBox
  • .bashrc file is already updated for TurtleBot3 Waffle Pi
  • Gazebo TurtleBot3 simulations are already installed

Compiling (catkin_make) step is not always shown in the video. Always compile your packages after making changes to your files.

https://www.youtube.com/watch?v=J_vasKVhUQM

turtlebot-tutorial-2d-map-asanka's People

Contributors

asankagp avatar nazib007 avatar

Stargazers

 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.