Coder Social home page Coder Social logo

samcts2309 / rmf_traffic_editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-rmf/rmf_traffic_editor

0.0 0.0 0.0 34.35 MB

GUI, CLI, and ROS 2 messages for robot traffic flows in buildings

License: Apache License 2.0

CMake 0.65% C++ 64.40% Python 34.94%

rmf_traffic_editor's Introduction

rmf_traffic_editor

This is a fork from osrf rmf project, modified to add location of tag objects for localization within a building

Welcome!

This repository has the following directories:

  • rmf_traffic_editor: GUI for annotating floorplans to create traffic patterns
  • rmf_building_map_tools: Python-based tools to use and manipulate the map files created by rmf_traffic_editor, such as:
    • building_map_server: a ROS 2 node to serve maps using rmf_building_map_msgs
    • translators to simulators such as Gazebo
    • translators to navigation packages such as rmf_core (e.g. rmf_ros2)
    • scripts that handle downloading of gazebo models. pit_crew, building_map_model_downloader...
  • rmf_traffic_editor_assets: Gazebo model thumbnails, in used by traffic_editor GUI

Installation

This repository is structured as a collection of ROS 2 packages and can be built using colcon. For full installation of RMF, please refer to here.

The rmf_building_map_tools package requires the following Python 3 dependencies to generate worlds:

sudo apt install python3-shapely python3-yaml python3-requests

Usage

rmf_traffic_editor consists of a interface and tools to create a simulation .world file from a sketched building floor plan. These simulation .world file can be used by other applications, not just limited to RMF.

Traffic Editor GUI

Instructions of traffic_editor is located here

To run traffic_editor GUI, run:

source install/setup.bash
traffic_editor

Building Map Tools

Once done with the editing of the building map with traffic_editor, user can now generate the simulated world file from the saved .building.yaml file (${building_map_path}).

Generate a world file from building map

ros2 run rmf_building_map_tools building_map_generator gazebo \
  ${building_map_path} ${output_world_path} ${output_model_dir}

switch arg gazebo to ignition for generating a world file for ignition

Download models used in newly created traffic editor building map.

ros2 run rmf_building_map_tools building_map_model_downloader \
  ${building_map_path} -f -e ~/.gazebo/models

Generate Traffic Navigation Path File

ros2 run rmf_building_map_tools building_map_generator nav \
  ${building_map_path} ${output_nav_graphs_dir}

rmf_traffic_editor's People

Contributors

codebot avatar aaronchongth avatar methyldragon avatar kevinskwk avatar luca-della-vedova avatar yadunund avatar youliangtan avatar arjo129 avatar makinoharashouko avatar gbiggs avatar marcoag avatar mrushyendra avatar mxgrey avatar floodshao avatar cnboonhan avatar xiyuoh avatar briancbn avatar nicholas-gs avatar tianenchong avatar ddengster avatar tulku avatar mattbooker avatar vallq 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.