Commit a1ffd980 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Add inverted alvar png/dae. Update sign, semaphore, localization_sign xacros...

Add inverted alvar png/dae. Update sign, semaphore, localization_sign xacros and launchs. Update spawn_test.launch with all examples
parent 5ed3d707
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<arg name="name" default="loc_sign"/>
<arg name="model" default="loc_sign"/>
<arg name="tag" default="alvar2_negative"/>
<arg name="x" default="0.5"/>
<arg name="y" default="-0.5"/>
<arg name="yaw" default="3.14159"/>
<arg name="parent" default="map"/>
<param name="$(arg name)_description"
command="$(find xacro)/xacro '$(find iri_sign_description)/urdf/$(arg model).xacro'
name:=$(arg name)
tag:=$(arg tag)">
</param>
<node name="$(arg name)_state_publisher"
pkg ="robot_state_publisher"
type="robot_state_publisher">
<!--<param name="tf_prefix" value="/$(arg name)" type="str" />-->
<remap from="robot_description" to="$(arg name)_description" />
<remap from="/joint_states" to="/$(arg name)/joint_states" />
</node>
<node name="spawn_urdf_$(arg name)"
pkg ="gazebo_ros"
type="spawn_model"
args="-param /$(arg name)_description -urdf -model $(arg name) -x $(arg x) -y $(arg y) -z 0 -Y $(arg yaw)">
</node>
<node name="static_tf_$(arg name)_base_link_to_$(arg parent)" pkg="tf" type="static_transform_publisher"
args="$(arg x) $(arg y) 0 $(arg yaw) 0 0 $(arg parent) $(arg name)_base_link 100">
</node>
</launch>
......@@ -2,7 +2,8 @@
<launch>
<arg name="name" default="semaphore"/>
<arg name="model" default="semaphore"/>
<arg name="tag" default="alvar0"/>
<arg name="tag" default="alvar0_negative"/>
<arg name="initial_state" default="0"/>
<arg name="x" default="0.5"/>
<arg name="y" default="-0.5"/>
<arg name="yaw" default="3.14159"/>
......@@ -11,7 +12,8 @@
<param name="$(arg name)_description"
command="$(find xacro)/xacro '$(find iri_sign_description)/urdf/$(arg model).xacro'
name:=$(arg name)
tag:=$(arg tag)">
tag:=$(arg tag)
initial_state:=$(arg initial_state)">
</param>
<node name="$(arg name)_state_publisher"
......
......@@ -2,7 +2,7 @@
<launch>
<arg name="name" default="stop"/>
<arg name="model" default="sign"/>
<arg name="tag" default="alvar0"/>
<arg name="tag" default="alvar1_negative"/>
<arg name="type" default="stop"/>
<arg name="x" default="0.5"/>
<arg name="y" default="-0.5"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0"?>
<launch>
<arg name="name" default="stop1"/>
<arg name="model" default="sign"/>
<arg name="tag" default="alvar0"/>
<arg name="type" default="stop"/>
<arg name="x" default="0.5"/>
<arg name="y" default="-0.5"/>
<arg name="yaw" default="3.14159"/>
<arg name="parent" default="map"/>
<include file="$(find iri_sign_description)/launch/spawn_semaphore.launch">
<arg name="name" value="semaphore1"/>
<arg name="initial_state" value="false"/>
<arg name="x" value="0.7"/>
<arg name="y" value="0.1"/>
<arg name="yaw" value="3.14159"/>
<arg name="parent" value="$(arg parent)"/>
</include>
<include file="$(find iri_sign_description)/launch/spawn_semaphore.launch">
<arg name="name" value="semaphore2"/>
<arg name="initial_state" value="true"/>
<arg name="x" value="0.7"/>
<arg name="y" value="-0.1"/>
<arg name="yaw" value="3.14159"/>
<arg name="parent" value="$(arg parent)"/>
</include>
<include file="$(find iri_sign_description)/launch/spawn_sign.launch">
<arg name="name" value="$(arg name)"/>
<arg name="model" value="$(arg model)"/>
<arg name="tag" value="$(arg tag)"/>
<arg name="type" value="$(arg type)"/>
<arg name="x" value="$(arg x)"/>
<arg name="y" value="$(arg y)"/>
<arg name="yaw" value="$(arg yaw)"/>
<arg name="parent" value="$(arg parent)"/>
<arg name="name" value="sign1"/>
<arg name="type" value="stop"/>
<arg name="x" value="0.7"/>
<arg name="y" value="-0.3"/>
<arg name="yaw" value="3.14159"/>
<arg name="parent" value="$(arg parent)"/>
</include>
<include file="$(find iri_sign_description)/launch/spawn_sign.launch">
<arg name="name" value="sign2"/>
<arg name="type" value="parking"/>
<arg name="x" value="0.7"/>
<arg name="y" value="-0.5"/>
<arg name="yaw" value="3.14159"/>
<arg name="parent" value="$(arg parent)"/>
</include>
<include file="$(find iri_sign_description)/launch/spawn_localization_sign.launch">
<arg name="name" value="locsign1"/>
<arg name="x" value="0.7"/>
<arg name="y" value="0.3"/>
<arg name="yaw" value="3.14159"/>
<arg name="parent" value="$(arg parent)"/>
</include>
<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="x" value="0.7"/>
<arg name="y" value="0.5"/>
<arg name="yaw" value="3.14159"/>
<arg name="parent" value="$(arg parent)"/>
</include>
<node name="$(arg name)_rviz" pkg="rviz" type="rviz"
args="-d $(find iri_sign_description)/rviz/$(arg name).rviz"/>
</launch>
......@@ -4,8 +4,7 @@
<xacro:include filename="$(find iri_sign_description)/urdf/signs/localization_sign_macro.xacro" />
<xacro:localization_sign name="$(arg name)"
tag_dae="$(arg tag)"
top_panel_dae="$(arg type)">
tag_dae="$(arg tag)">
</xacro:localization_sign>
</robot>
......@@ -4,7 +4,8 @@
<xacro:include filename="$(find iri_sign_description)/urdf/signs/semaphore_macro.xacro" />
<xacro:semaphore name="$(arg name)"
tag_dae="$(arg tag)">
tag_dae="$(arg tag)"
initial_state="$(arg initial_state)">
</xacro:semaphore>
</robot>
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<author></author>
<authoring_tool>FBX COLLADA exporter</authoring_tool>
<comments></comments>
</contributor>
<created>2014-10-05T08:59:28Z</created>
<keywords></keywords>
<modified>2014-10-05T08:59:28Z</modified>
<revision></revision>
<subject></subject>
<title></title>
<unit meter="1.0" name="meter"></unit>
<up_axis>Y_UP</up_axis></asset>
<library_images>
<image id="Map #1-image" name="Map #1">
<init_from>png/alvar2_negative.png</init_from>
</image>
</library_images>
<library_materials>
<material id="Material #36" name="Material #36">
<instance_effect url="#Material #36-fx"/>
</material>
</library_materials>
<library_effects>
<effect id="Material #36-fx" name="Material #36">
<profile_COMMON>
<technique sid="standard">
<phong>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<ambient>
<color sid="ambient">1 1 1 1</color>
</ambient>
<diffuse>
<texture texture="Map #1-image" texcoord="CHANNEL0">
<extra>
<technique profile="MAYA">
<wrapU sid="wrapU0">TRUE</wrapU>
<wrapV sid="wrapV0">TRUE</wrapV>
<blend_mode>ADD</blend_mode>
</technique>
</extra>
</texture>
</diffuse>
<specular>
<color sid="specular">0 0 0 1</color>
</specular>
<shininess>
<float sid="shininess">2</float>
</shininess>
<reflective>
<color sid="reflective">0 0 0 1</color>
</reflective>
<reflectivity>
<float sid="reflectivity">1</float>
</reflectivity>
<transparent opaque="RGB_ZERO">
<color sid="transparent">1 1 1 1</color>
</transparent>
<transparency>
<float sid="transparency">0</float>
</transparency>
</phong>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_geometries>
<geometry id="image-lib" name="image">
<mesh>
<source id="image-POSITION">
<float_array id="image-POSITION-array" count="12">
-0.5 -0.5 0
0.5 -0.5 0
-0.5 0.5 0
0.5 0.5 0
</float_array>
<technique_common>
<accessor source="#image-POSITION-array" count="4" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="image-Normal0">
<float_array id="image-Normal0-array" count="18">
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
</float_array>
<technique_common>
<accessor source="#image-Normal0-array" count="6" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="image-UV0">
<float_array id="image-UV0-array" count="8">
0 0
1 0
0 1
1 1
</float_array>
<!--
0.000499 0.000500
0.999500 0.000499
0.000500 0.999501
0.999501 0.999500
-->
<technique_common>
<accessor source="#image-UV0-array" count="4" stride="2">
<param name="S" type="float"/>
<param name="T" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="image-VERTEX">
<input semantic="POSITION" source="#image-POSITION"/>
</vertices>
<triangles count="2" material="Material #36">
<input semantic="VERTEX" offset="0" source="#image-VERTEX"/>
<input semantic="NORMAL" offset="1" source="#image-Normal0"/>
<input semantic="TEXCOORD" offset="2" set="0" source="#image-UV0"/>
<p> 0 0 0 1 1 1 3 2 3 3 3 3 2 4 2 0 5 0</p>
</triangles>
</mesh>
</geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="" name="">
<node name="image" id="image" sid="image">
<matrix sid="matrix">1 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 1</matrix>
<instance_geometry url="#image-lib">
<bind_material>
<technique_common>
<instance_material symbol="Material #36" target="#Material #36"/>
</technique_common>
</bind_material>
</instance_geometry>
<extra>
<technique profile="FCOLLADA">
<visibility>1</visibility>
</technique>
</extra>
</node>
<extra>
<technique profile="MAX3D">
<frame_rate>30</frame_rate>
</technique>
<technique profile="FCOLLADA">
<start_time>0</start_time>
<end_time>3.333333</end_time>
</technique>
</extra>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#"></instance_visual_scene>
</scene>
</COLLADA>
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<author></author>
<authoring_tool>FBX COLLADA exporter</authoring_tool>
<comments></comments>
</contributor>
<created>2014-10-05T08:59:28Z</created>
<keywords></keywords>
<modified>2014-10-05T08:59:28Z</modified>
<revision></revision>
<subject></subject>
<title></title>
<unit meter="1.0" name="meter"></unit>
<up_axis>Y_UP</up_axis></asset>
<library_images>
<image id="Map #1-image" name="Map #1">
<init_from>png/alvar3_negative.png</init_from>
</image>
</library_images>
<library_materials>
<material id="Material #36" name="Material #36">
<instance_effect url="#Material #36-fx"/>
</material>
</library_materials>
<library_effects>
<effect id="Material #36-fx" name="Material #36">
<profile_COMMON>
<technique sid="standard">
<phong>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<ambient>
<color sid="ambient">1 1 1 1</color>
</ambient>
<diffuse>
<texture texture="Map #1-image" texcoord="CHANNEL0">
<extra>
<technique profile="MAYA">
<wrapU sid="wrapU0">TRUE</wrapU>
<wrapV sid="wrapV0">TRUE</wrapV>
<blend_mode>ADD</blend_mode>
</technique>
</extra>
</texture>
</diffuse>
<specular>
<color sid="specular">0 0 0 1</color>
</specular>
<shininess>
<float sid="shininess">2</float>
</shininess>
<reflective>
<color sid="reflective">0 0 0 1</color>
</reflective>
<reflectivity>
<float sid="reflectivity">1</float>
</reflectivity>
<transparent opaque="RGB_ZERO">
<color sid="transparent">1 1 1 1</color>
</transparent>
<transparency>
<float sid="transparency">0</float>
</transparency>
</phong>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_geometries>
<geometry id="image-lib" name="image">
<mesh>
<source id="image-POSITION">
<float_array id="image-POSITION-array" count="12">
-0.5 -0.5 0
0.5 -0.5 0
-0.5 0.5 0
0.5 0.5 0
</float_array>
<technique_common>
<accessor source="#image-POSITION-array" count="4" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="image-Normal0">
<float_array id="image-Normal0-array" count="18">
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
</float_array>
<technique_common>
<accessor source="#image-Normal0-array" count="6" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="image-UV0">
<float_array id="image-UV0-array" count="8">
0 0
1 0
0 1
1 1
</float_array>
<!--
0.000499 0.000500
0.999500 0.000499
0.000500 0.999501
0.999501 0.999500
-->
<technique_common>
<accessor source="#image-UV0-array" count="4" stride="2">
<param name="S" type="float"/>
<param name="T" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="image-VERTEX">
<input semantic="POSITION" source="#image-POSITION"/>
</vertices>
<triangles count="2" material="Material #36">
<input semantic="VERTEX" offset="0" source="#image-VERTEX"/>
<input semantic="NORMAL" offset="1" source="#image-Normal0"/>
<input semantic="TEXCOORD" offset="2" set="0" source="#image-UV0"/>
<p> 0 0 0 1 1 1 3 2 3 3 3 3 2 4 2 0 5 0</p>
</triangles>
</mesh>
</geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="" name="">
<node name="image" id="image" sid="image">
<matrix sid="matrix">1 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 1</matrix>
<instance_geometry url="#image-lib">
<bind_material>
<technique_common>
<instance_material symbol="Material #36" target="#Material #36"/>
</technique_common>
</bind_material>
</instance_geometry>
<extra>
<technique profile="FCOLLADA">
<visibility>1</visibility>
</technique>
</extra>
</node>
<extra>
<technique profile="MAX3D">
<frame_rate>30</frame_rate>
</technique>
<technique profile="FCOLLADA">
<start_time>0</start_time>
<end_time>3.333333</end_time>
</technique>
</extra>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#"></instance_visual_scene>
</scene>
</COLLADA>
urdf/signs/dae/png/max_50.png

68.2 KB | W: | H:

urdf/signs/dae/png/max_50.png

51.4 KB | W: | H:

urdf/signs/dae/png/max_50.png
urdf/signs/dae/png/max_50.png
urdf/signs/dae/png/max_50.png
urdf/signs/dae/png/max_50.png
  • 2-up
  • Swipe
  • Onion skin
urdf/signs/dae/png/no_overtaking.png

185 KB | W: | H:

urdf/signs/dae/png/no_overtaking.png

156 KB | W: | H:

urdf/signs/dae/png/no_overtaking.png
urdf/signs/dae/png/no_overtaking.png
urdf/signs/dae/png/no_overtaking.png
urdf/signs/dae/png/no_overtaking.png
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<author></author>
<authoring_tool>FBX COLLADA exporter</authoring_tool>
<comments></comments>
</contributor>
<created>2014-10-05T08:59:28Z</created>
<keywords></keywords>
<modified>2014-10-05T08:59:28Z</modified>
<revision></revision>
<subject></subject>
<title></title>
<unit meter="1.0" name="meter"></unit>
<up_axis>Y_UP</up_axis></asset>
<library_images>
<image id="Map #1-image" name="Map #1">
<init_from>png/world_negative.png</init_from>
</image>
</library_images>
<library_materials>
<material id="Material #36" name="Material #36">
<instance_effect url="#Material #36-fx"/>
</material>
</library_materials>
<library_effects>
<effect id="Material #36-fx" name="Material #36">
<profile_COMMON>
<technique sid="standard">
<phong>
<emission>
<color sid="emission">0 0 0 1</color>
</emission>
<ambient>
<color sid="ambient">1 1 1 1</color>
</ambient>
<diffuse>
<texture texture="Map #1-image" texcoord="CHANNEL0">
<extra>
<technique profile="MAYA">
<wrapU sid="wrapU0">TRUE</wrapU>
<wrapV sid="wrapV0">TRUE</wrapV>
<blend_mode>ADD</blend_mode>
</technique>
</extra>
</texture>
</diffuse>
<specular>
<color sid="specular">0 0 0 1</color>
</specular>
<shininess>
<float sid="shininess">2</float>
</shininess>
<reflective>
<color sid="reflective">0 0 0 1</color>
</reflective>
<reflectivity>
<float sid="reflectivity">1</float>
</reflectivity>
<transparent opaque="RGB_ZERO">
<color sid="transparent">1 1 1 1</color>
</transparent>
<transparency>
<float sid="transparency">0</float>
</transparency>
</phong>
</technique>
</profile_COMMON>
</effect>
</library_effects>
<library_geometries>
<geometry id="image-lib" name="image">
<mesh>
<source id="image-POSITION">
<float_array id="image-POSITION-array" count="12">
-0.5 -0.5 0
0.5 -0.5 0
-0.5 0.5 0
0.5 0.5 0
</float_array>
<technique_common>
<accessor source="#image-POSITION-array" count="4" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>