Code Monkey home page Code Monkey logo

gazebo-model-generator's Introduction

Gazebo plugin for RTLS tags

This gazebo world plugin spawns models based on ROS2 parameters

Parameters in use:

  • cgh/patient/P0/count
  • cgh/patient/P1/count
  • cgh/patient/P2/count
  • cgh/patient/P3/count

Paramters implemented but not in use:

  • triage/patient/P0/count
  • triage/patient/P1/count
  • triage/patient/P2/count
  • triage/patient/P3/count

Dependencies

Install from debian packages (on Ubuntu)

Assuming you already have some Foxy debian packages installed, install gazebo_ros_pkgs as follows:

sudo apt install ros-foxy-gazebo-ros-pkgs

Installation

mkdir -p $HOME/gz_plugin_ws/src; cd $HOME/gz_plugin_ws/src
git clone https://github.com/sharp-rmf/gazebo-model-generator.git
cd $HOME/gz_plugin_ws

source /opt/ros/foxy/setup.bash
colcon build

Usage

You can try out the plugin by running the following:

source /opt/ros/foxy/setup.bash; source /source $HOME/gz_plugin_ws/install/setup.bash
ros2 launch factory plugin_tryout.launch.xml

### Then in another teminal ###
ros2 param set /factory cgh/patient/P1/count 10

Using it in your own packages

By setting the model count in the parameters listed above, the plugin will generate model://patient.

gazebo-model-generator's People

Stargazers

 avatar

Watchers

 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.