Skip to content

Commit

Permalink
Added new files for Kinect2
Browse files Browse the repository at this point in the history
  • Loading branch information
archielee committed Jan 17, 2016
1 parent 7623657 commit 9d0fa2a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion pr2_description/robots/pr2_kinect2.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<xacro:include filename="$(find pr2_description)/urdf/base_v0/base.urdf.xacro" />
<!-- Head sensors -->
<xacro:include filename="$(find pr2_description)/urdf/sensors/head_sensor_package.urdf.xacro" />
<xacro:include filename="$(find pr2_description)/urdf/sensors/kinect2.urdf.xacro" />
<xacro:include filename="$(find pr2_description)/urdf/sensors/kinect2_v0/kinect2.urdf.xacro" />
<!-- Camera sensors -->
<xacro:include filename="$(find pr2_description)/urdf/sensors/wge100_camera.urdf.xacro" />
<!-- Texture projector -->
Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions pr2_description/urdf/sensors/kinect2.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<robot xmlns:xacro="http://ros.org/wiki/xacro">
<!-- Instead of making a xacro for each individual component, create one .STL for the frame, mount and the Kinect2 -->
<!-- Multiple components is also likely the cause of the tf linking problem -->
<!-- Jeff is making the CAD file for the assembly -->
<!-- Depending on where origin is for the mesh, a joint and link may be needed for the camera/ir sensor -->
<xacro:include filename="$(find pr2_description)/urdf/sensors/kinect2.gazebo.xacro" />

Expand All @@ -28,7 +27,7 @@
<visual>
<origin xyz="0 -0.138 0" rpy="${M_PI/2} 0 ${M_PI/2}"/>
<geometry>
<mesh filename="package://pr2_description/meshes/sensors/kinect2_v0/kinect2_mount.STL" scale="0.001 0.001 0.001" />
<mesh filename="package://pr2_description/meshes/sensors/kinect2_v0/KinectAssembly.stl" scale="0.001 0.001 0.001" />
</geometry>
<material name="gray">
<color rgba="0.5 0.5 0.5 1"/>
Expand Down Expand Up @@ -100,7 +99,7 @@
<material name="black">
<color rgba="0.05 0.05 0.05 1"/>
</material>
</geometry>
</geometry> if [ $V \< 13.10 ]; then
</visual>

<collision>
Expand Down

0 comments on commit 9d0fa2a

Please sign in to comment.