Skip to content
Snippets Groups Projects
Commit deefdcc5 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Used the new ana descpription.launch and pioneer wheel_static_tranf.launch files.

parent 4481d826
No related branches found
No related tags found
No related merge requests found
...@@ -26,4 +26,4 @@ ...@@ -26,4 +26,4 @@
<arg name="yaw" value="0.0"/> <arg name="yaw" value="0.0"/>
</include> </include>
</launch> </launch>
\ No newline at end of file
...@@ -8,18 +8,14 @@ ...@@ -8,18 +8,14 @@
<arg name="yaw" default="0.0"/> <arg name="yaw" default="0.0"/>
<group ns="$(arg name)"> <group ns="$(arg name)">
<param name="robot_description"
command="$(find xacro)/xacro --inorder '$(find iri_ana_description)/urdf/$(arg model).xacro' name:=$(arg name)" />
<node pkg="robot_state_publisher" type="state_publisher" name="state_publisher"> <include file="$(find iri_ana_description)/launch/descritpion.launch">
<param name="tf_prefix" type="string" value="$(arg name)"/> <arg name="node_name" value="$(arg name)"/>
<param name="publish_frequency" type="double" value="20.0"/> <arg name="model" value="$(arg model)"/>
</node> </include>
<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher">
</node>
<include file="$(find iri_pioneer3_description)/launch/wheel_static_trans.launc"/>
<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_description -urdf -model $(arg name) -x $(arg x) -y $(arg y) -z 0 -R 0 -P 0 -Y $(arg yaw)" /> <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_description -urdf -model $(arg name) -x $(arg x) -y $(arg y) -z 0 -R 0 -P 0 -Y $(arg yaw)" />
</group> </group>
......
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