~shadowrobot/sr-ros-interface/Feature_update_controller_params

« back to all changes in this revision

Viewing changes to sr_hand/model/kinect/gazebo_kinect.urdf.xacro

  • Committer: Ugo Cupcic
  • Date: 2012-07-23 12:23:16 UTC
  • Revision ID: ugo@shadowrobot.com-20120723122316-6i0bxukylymyg4xi
just moved all the models out of sr_hand into sr_description, not rewritten yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<robot xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" xmlns:xacro="http://ros.org/wiki/xacro" name="gazebo_kinect">
2
 
 
3
 
<xacro:macro name="shadowarm_sim_kinect">
4
 
  <gazebo reference="camera_link">
5
 
    <sensor:camera name="kinect_camera">
6
 
      <imageFormat>R8G8B8</imageFormat>
7
 
      <imageSize>640 480</imageSize>
8
 
      <hfov>60</hfov>
9
 
      <nearClip>0.05</nearClip>
10
 
      <farClip>3</farClip>
11
 
      <updateRate>20</updateRate>
12
 
      <baseline>0.1</baseline>
13
 
      <controller:gazebo_ros_openni_kinect name="kinect_camera_controller" plugin="libgazebo_ros_openni_kinect.so">
14
 
        <alwaysOn>true</alwaysOn>
15
 
        <updateRate>20</updateRate>
16
 
        <imageTopicName>/camera/image_raw</imageTopicName>
17
 
        <pointCloudTopicName>/camera/depth_registered/points</pointCloudTopicName>
18
 
        <cameraInfoTopicName>/camera/camera_info</cameraInfoTopicName>
19
 
        <frameName>/camera_depth_optical_frame</frameName>
20
 
        <distortion_k1>0.0</distortion_k1>
21
 
        <distortion_k2>0.0</distortion_k2>
22
 
        <distortion_k3>0.0</distortion_k3>
23
 
        <distortion_t1>0.0</distortion_t1>
24
 
        <distortion_t2>0.0</distortion_t2>
25
 
      </controller:gazebo_ros_openni_kinect>
26
 
    </sensor:camera>
27
 
  </gazebo>
28
 
</xacro:macro>
29
 
</robot>