Commit 186f30ea authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Update readme. Update AR markers used

parent 4a94895e
...@@ -51,14 +51,17 @@ This package file includes launch files: ...@@ -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. * **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. * **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. * 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 * An empty string will make the light to switch between green and red
* other features are under development. * 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. * spawn_localization_sign.launch. Under development.
A test launch file is provided. To use it, execute the following command: A test launch file is provided. To use it, execute the following command:
``` ```
roslaunch iri_sign_description spawn_test.launch 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 ## Disclaimer
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<launch> <launch>
<arg name="name" default="semaphore"/> <arg name="name" default="semaphore"/>
<arg name="model" 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="initial_state" default="False"/>
<arg name="x" default="0.5"/> <arg name="x" default="0.5"/>
<arg name="y" default="-0.5"/> <arg name="y" default="-0.5"/>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<launch> <launch>
<arg name="name" default="stop"/> <arg name="name" default="stop"/>
<arg name="model" default="sign"/> <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="type" default="stop"/>
<arg name="x" default="0.5"/> <arg name="x" default="0.5"/>
<arg name="y" default="-0.5"/> <arg name="y" default="-0.5"/>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<include file="$(find iri_sign_description)/launch/spawn_sign.launch"> <include file="$(find iri_sign_description)/launch/spawn_sign.launch">
<arg name="name" value="unique_loc_sign1"/> <arg name="name" value="unique_loc_sign1"/>
<arg name="type" value="world_negative"/> <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="x" value="0.7"/>
<arg name="y" value="0.5"/> <arg name="y" value="0.5"/>
<arg name="yaw" value="3.14159"/> <arg name="yaw" value="3.14159"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment