Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2015
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. <joint name="camera_joint" type="fixed">
  2. <axis xyz="0 1 0" />
  3. <origin xyz="0 0 1" rpy="0 0 0"/>
  4. <parent link="right_couch_middle"/>
  5. <child link="camera_link"/>
  6. </joint>
  7.  
  8. <!-- Camera -->
  9. <link name="camera_link">
  10. <collision>
  11. <origin xyz="0 0 0" rpy="0 0 0"/>
  12. <geometry>
  13. <box size="0.05 0.05 0.05"/>
  14. </geometry>
  15. </collision>
  16.  
  17. <visual>
  18. <origin xyz="0 0 0" rpy="0 0 0"/>
  19. <geometry>
  20. <box size="0.05 0.05 0.05"/>
  21. </geometry>
  22. <material name="red"/>
  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. <!-- camera-->
  33. <gazebo reference="camera_link">
  34. <sensor type="camera" name="camera12">
  35. <update_rate>30.0</update_rate>
  36. <camera name="head">
  37. <horizontal_fov>1.3962634</horizontal_fov>
  38. <image>
  39. <width>800</width>
  40. <height>800</height>
  41. <format>R8G8B8</format>
  42. </image>
  43. <clip>
  44. <near>0.02</near>
  45. <far>300</far>
  46. </clip>
  47. <noise>
  48. <type>gaussian</type>
  49. <mean>0.0</mean>
  50. <stddev>0.007</stddev>
  51. </noise>
  52. </camera>
  53. <plugin name="camera_controller2" filename="libgazebo_ros_camera.so">
  54. <alwaysOn>true</alwaysOn>
  55. <updateRate>0.0</updateRate>
  56. <cameraName>rrbot/camera1</cameraName>
  57. <imageTopicName>image_raw</imageTopicName>
  58. <cameraInfoTopicName>camera_info</cameraInfoTopicName>
  59. <frameName>camera_link</frameName>
  60. <hackBaseline>0.07</hackBaseline>
  61. <distortionK1>0.0</distortionK1>
  62. <distortionK2>0.0</distortionK2>
  63. <distortionK3>0.0</distortionK3>
  64. <distortionT1>0.0</distortionT1>
  65. <distortionT2>0.0</distortionT2>
  66. </plugin>
  67. </sensor>
  68. </gazebo>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement