Sarath18 / roadmap_generator

A wizard that helps in creating realistic city roadmaps for Gazebo desired ambient lighting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Road Generator

A wizard written in python that helps in creating realistic city roadmaps for Gazebo desired ambient lighting.

Road Grid is generated using the input provided by the user in the grid as shown below. It is then generated into a matrix which is inturn used to find position and place the road blocks.

          roadmap

Working

The wizard basically does the following:

  • Asks you a few questions on your roadmap
  • Opens a GUI grid where you can define the road layout
  • Converts that grid into matrix
  • Finds the position of each road block
  • Creates the required model files and saves it in your .gazebo/models folder
  • Creates a .world file at the destination path provided by the user

Requirements

  • Python
  • Gazebo 7.0 or higher
  • lxml
  • urllib

Installation

Install the required files to run on your local system:

  • Cloning the repository

    git clone https://github.com/Sarath18/roadmap_generator
    
  • lxml

    sudo pip install lxml
    
  • urllib

    sudo pip install urllib
    

About

A wizard that helps in creating realistic city roadmaps for Gazebo desired ambient lighting.


Languages

Language:Python 100.0%