Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions ctb/urdf/ctb.urdf
Comment thread
eholum-nasa marked this conversation as resolved.

This file was deleted.

60 changes: 60 additions & 0 deletions ctb/urdf/ctb_macro.xacro
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://wiki.ros.org/xacro">

<xacro:macro name="ctb" params="
prefix:=''
parent:=''
*origin">

<joint name="${prefix}ctb_joint" type="floating">
<parent link="${parent}"/>
<child link="${prefix}ctb"/>
<xacro:insert_block name="origin"/>
</joint>

<link name="${prefix}ctb">
<inertial>
<mass value="1.8"/>
<inertia ixx="1e-3" ixy="0.0" ixz="0.0" iyy="1e-3" iyz="0.0" izz="1e-3"/>
</inertial>
<!-- body -->
<visual>
<origin xyz="0.0 0.0 0.0" rpy="-1.57 0 0"/>
<geometry>
<mesh filename="package://ctb/meshes/ctb_body.stl" scale="0.0254 0.0254 0.0254"/>
</geometry>
<material name="ctb_grey">
<color rgba="1.0 1.0 1.0 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0.0 0.0 0.0" rpy="1.57 0 0"/>
<geometry>
<mesh filename="package://ctb/meshes/ctb_body.stl"/>
</geometry>
<material name="ctb_grey">
<color rgba="1.0 1.0 1.0 1.0"/>
</material>
</collision>
<!-- handle -->
<visual>
<origin xyz="0.0 0.08 0.264" rpy="1.57 0 0"/>
<geometry>
<mesh filename="package://ctb/meshes/ctb_handle.stl" scale="0.0254 0.0254 0.0254"/>
</geometry>
<material name="red">
<color rgba="1.0 0.0 0.0 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0.0 0.0 0.0" rpy="0 0 0"/>
<geometry>
<mesh filename="package://ctb/meshes/ctb_handle.stl"/>
</geometry>
<material name="red">
<color rgba="1.0 0.0 0.0 1.0"/>
</material>
</collision>
</link>
</xacro:macro>
</robot>
Loading