fork download
  1. <!-- bumper -->
  2.  
  3. <joint name="bumper_joint" type="fixed">
  4. <axis xyz="0 1 0" />
  5. <origin xyz="0.05 0 0.02" rpy="0 0 0"/>
  6. <parent link="base_link"/>
  7. <child link="bump_sensor"/>
  8. </joint>
  9.  
  10. <link name="bump_sensor">
  11. <collision name="bump_sensor_collision">
  12. <origin xyz="0 0 0" rpy="0 0 0"/>
  13. <geometry>
  14. <box size="0.05 0.05 0.05"/>
  15. </geometry>
  16. </collision>
  17.  
  18. <visual>
  19. <origin xyz="0 0 0" rpy="0 0 0"/>
  20. <geometry>
  21. <box size="0.05 0.05 0.05"/>
  22. </geometry>
  23. </visual>
  24.  
  25. <inertial>
  26. <mass value="1e-5" />
  27. <origin xyz="0 0 0" rpy="0 0 0"/>
  28. <inertia ixx="1e-6" ixy="0" ixz="0" iyy="1e-6" iyz="0" izz="1e-6" />
  29. </inertial>
  30. </link>
  31.  
  32. <gazebo reference="bump_sensor">
  33. <sensor name="main_bumper" type="contact">
  34. <selfCollide>true</selfCollide>
  35. <alwaysOn>true</alwaysOn>
  36. <updateRate>15.0</updateRate>
  37. <material>Gazebo/Red</material>
  38. <contact>
  39. <collision>bump_sensor_collision_collision</collision>
  40. </contact>
  41. <plugin name="gazebo_ros_bumper_controller" filename="libgazebo_ros_bumper.so">
  42. <bumperTopicName>bumper_vals</bumperTopicName>
  43. <frameName>world</frameName>
  44. </plugin>
  45. </sensor>
  46. </gazebo>
  47.  
  48.  
Runtime error #stdin #stdout #stderr 0.03s 62976KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
  File "prog.py", line 1
    <!-- bumper -->
     ^
SyntaxError: Unknown character