fake_pi_robot.launch 1.0 KB

123456789101112131415161718192021222324
  1. <launch>
  2. <param name="/use_sim_time" value="false" />
  3. <!-- Load the URDF/Xacro model of our robot -->
  4. <arg name="urdf_file" default="$(find xacro)/xacro.py '$(find rbx1_description)/urdf/pi_robot.xacro'" />
  5. <param name="robot_description" command="$(arg urdf_file)" />
  6. <node name="arbotix" pkg="arbotix_python" type="arbotix_driver" output="screen" clear_params="true">
  7. <rosparam file="$(find rbx1_bringup)/config/fake_pi_arbotix.yaml" command="load" />
  8. <param name="sim" value="true"/>
  9. </node>
  10. <node name="move_fake_pi_arm_start" pkg="rbx1_bringup" type="move_fake_pi_arm_start.py" output="screen" />
  11. <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher">
  12. <param name="publish_frequency" type="double" value="20.0" />
  13. </node>
  14. <!-- Run a static transform between /base_link and /base_footprint needed for SLAM -->
  15. <node pkg="tf" type="static_transform_publisher" name="base_footprint_broadcaster" args="0 0 0 0 0 0 /base_link /base_footprint 100" />
  16. </launch>