gazebo.urdf.xacro 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0"?>
  2. <robot xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller"
  3. xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface"
  4. xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor"
  5. xmlns:xacro="http://ros.org/wiki/xacro"
  6. name="mecanum_robot_gazebo">
  7. <!-- ASUS Xtion PRO camera for simulation -->
  8. <!-- gazebo_ros_wge100 plugin is in kt2_gazebo_plugins package -->
  9. <xacro:macro name="mecanum_robot_sim">
  10. <gazebo reference="base_link">
  11. <material>Gazebo/Blue</material>
  12. <turnGravityOff>false</turnGravityOff>
  13. </gazebo>
  14. <gazebo reference="right_front_wheel">
  15. <material>Gazebo/FlatBlack</material>
  16. </gazebo>
  17. <gazebo reference="right_back_wheel">
  18. <material>Gazebo/FlatBlack</material>
  19. </gazebo>
  20. <gazebo reference="left_front_wheel">
  21. <material>Gazebo/FlatBlack</material>
  22. </gazebo>
  23. <gazebo reference="left_back_wheel">
  24. <material>Gazebo/FlatBlack</material>
  25. </gazebo>
  26. <gazebo reference="head">
  27. <material>Gazebo/White</material>
  28. </gazebo>
  29. </xacro:macro>
  30. </robot>