Skip to content
Snippets Groups Projects
Commit a3be4c1f authored by Fernando Herrero's avatar Fernando Herrero
Browse files

sensors.xacro: independent front/rear laser config file, because is where topic is defined

parent 0ce54083
No related branches found
No related tags found
No related merge requests found
......@@ -7,13 +7,14 @@
<xacro:macro name="sensors" params="name parent">
<xacro:property name="laser_config" value="$(find iri_dabo_gazebo)/config/hokuyo_utm30lx.yaml"/>
<xacro:property name="front_laser_config" value="$(find iri_dabo_gazebo)/config/front_hokuyo_utm30lx.yaml"/>
<xacro:property name="rear_laser_config" value="$(find iri_dabo_gazebo)/config/rear_hokuyo_utm30lx.yaml"/>
<xacro:hokuyo_laser2d name="front" prefix="${name}" parent="${parent}" mesh_resolution="low_res" model="utm30lx" config_file="${laser_config}">
<xacro:hokuyo_laser2d name="front" prefix="${name}" parent="${parent}" mesh_resolution="low_res" model="utm30lx" config_file="${front_laser_config}">
<origin xyz="0.28 0.0 0.15" rpy="0 0 0" />
</xacro:hokuyo_laser2d>
<xacro:hokuyo_laser2d name="rear" prefix="${name}" parent="${parent}" mesh_resolution="low_res" model="utm30lx" config_file="${laser_config}">
<xacro:hokuyo_laser2d name="rear" prefix="${name}" parent="${parent}" mesh_resolution="low_res" model="utm30lx" config_file="${rear_laser_config}">
<origin xyz="-0.28 0.0 0.15" rpy="0 0 3.14159" />
</xacro:hokuyo_laser2d>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment