From f0d02f2e797b85a183f0a9c69ec3b4852ddea03e Mon Sep 17 00:00:00 2001 From: fherrero <fherrero@iri.upc.edu> Date: Wed, 21 Apr 2021 15:15:22 +0200 Subject: [PATCH] Update README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2544f25..c737b24 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Description This package is a Gazebo plugin to change a model reference material. + For example, it is used to change the state of a simulated sempahore light from [iri_sign_description](https://gitlab.iri.upc.edu/mobile_robotics/adc/adc_2021/iri_sign_description) This package has been tested ROS Melodic (Gazebo 9) under Linux Ubuntu 18.04, although it may work with other ROS-Gazebo versions and Linux variations. @@ -40,11 +41,14 @@ See example files provided: ## Launch +Test launch of an empty Gazebo world with a sample_box model. + `roslaunch gazebo_ros empty_world.launch` `roslaunch iri_gazebo_set_material_plugin spawn.launch` +You can switch between defined Gazebo/Red and Gazebo/Green materials, leaving the name empty, or set a different material, like Gazebo/Blue. + `rostopic pub /sample_box_set_material_plugin/set_material std_msgs/String "data: ''"` `rostopic pub /sample_box_set_material_plugin/set_material std_msgs/String "data: 'Gazebo/Blue'"` -``` -- GitLab