From 186f30ea04621990ae0a094eb3cf628b3940ec0b Mon Sep 17 00:00:00 2001
From: fherrero <fherrero@iri.upc.edu>
Date: Tue, 22 Jun 2021 15:26:05 +0200
Subject: [PATCH] Update readme. Update AR markers used

---
 README.md                     | 7 +++++--
 launch/spawn_semaphore.launch | 2 +-
 launch/spawn_sign.launch      | 2 +-
 launch/spawn_test.launch      | 2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 3584eb6..68b4cc1 100644
--- a/README.md
+++ b/README.md
@@ -51,14 +51,17 @@ This package file includes launch files:
   * **yaw** (default=0.0) orientation of the traffic sign with respect to the parent frame.
   * **parent** (default=map) parent reference frame used to place the traffic sign in the simulated environment.
   * To change the semaphore light, publish on the /<name>_set_material_plugin/set_material topic.
-    * empty string will make the light to switch between green and red
-    * other features are under development.
+    * An empty string will make the light to switch between green and red
+    * Setting a [gazebo material](http://wiki.ros.org/simulator_gazebo/Tutorials/ListOfMaterials) (Gazebo/Red, Gazebo/Green, Gazebo/Orange, ...) will change the material accordingly.
 * spawn_localization_sign.launch. Under development.
 
 A test launch file is provided. To use it, execute the following command:
 
 ```
 roslaunch iri_sign_description spawn_test.launch
+
+rostopic pub -1 /semaphore1_set_material_plugin/set_material std_msgs/String "data: ''"
+rostopic pub -1 /semaphore2_set_material_plugin/set_material std_msgs/String "data: 'Gazebo/Orange'"
 ```
 
 ## Disclaimer
diff --git a/launch/spawn_semaphore.launch b/launch/spawn_semaphore.launch
index 6a81898..5c7eebf 100644
--- a/launch/spawn_semaphore.launch
+++ b/launch/spawn_semaphore.launch
@@ -2,7 +2,7 @@
 <launch>
   <arg name="name"  default="semaphore"/>
   <arg name="model" default="semaphore"/>
-  <arg name="tag"   default="alvar0_negative"/>
+  <arg name="tag"   default="alvar0_neg_1"/>
   <arg name="initial_state"  default="False"/>
   <arg name="x"     default="0.5"/>
   <arg name="y"     default="-0.5"/>
diff --git a/launch/spawn_sign.launch b/launch/spawn_sign.launch
index efedb45..49e3456 100644
--- a/launch/spawn_sign.launch
+++ b/launch/spawn_sign.launch
@@ -2,7 +2,7 @@
 <launch>
   <arg name="name"  default="stop"/>
   <arg name="model" default="sign"/>
-  <arg name="tag"   default="alvar1_negative"/>
+  <arg name="tag"   default="alvar1_neg_1"/>
   <arg name="type"  default="stop"/>
   <arg name="x"     default="0.5"/>
   <arg name="y"     default="-0.5"/>
diff --git a/launch/spawn_test.launch b/launch/spawn_test.launch
index 52b6f54..df898a5 100644
--- a/launch/spawn_test.launch
+++ b/launch/spawn_test.launch
@@ -61,7 +61,7 @@
   <include file="$(find iri_sign_description)/launch/spawn_sign.launch">
     <arg name="name"  value="unique_loc_sign1"/>
     <arg name="type"  value="world_negative"/>
-    <arg name="tag"   value="alvar3_negative"/>
+    <arg name="tag"   value="alvar3_neg_1"/>
     <arg name="x"  value="0.7"/>
     <arg name="y"  value="0.5"/>
     <arg name="yaw"  value="3.14159"/>
-- 
GitLab