forked from Interbotix/interbotix_ros_arms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pxxls.urdf.xacro
100 lines (87 loc) · 3.32 KB
/
pxxls.urdf.xacro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0"?>
<robot name="pxxls" xmlns:xacro="http://ros.org/wiki/xacro">
<xacro:arg name="robot_name" default = ""/>
<xacro:arg name="external_urdf_loc" default=""/>
<xacro:arg name="use_world_frame" default="false"/>
<xacro:property name="urdf_loc" value="$(arg external_urdf_loc)"/>
<material name="interbotix_black">
<texture filename="package://interbotix_descriptions/meshes/interbotix_black.png"/>
</material>
<xacro:if value="$(arg use_world_frame)">
<link name="world"/>
<joint name="fixed" type="fixed">
<parent link="world"/>
<child link="$(arg robot_name)/base_link"/>
</joint>
</xacro:if>
<link name="$(arg robot_name)/base_link">
<visual>
<origin rpy="0 0 ${pi/2}" xyz="0 0 0"/>
<geometry>
<mesh filename="package://interbotix_descriptions/meshes/meshes_pxxls/PXT-XLS-M-1-Base.stl" scale="0.001 0.001 0.001"/>
</geometry>
<material name="interbotix_black"/>
</visual>
<collision>
<origin rpy="0 0 ${pi/2}" xyz="0 0 0"/>
<geometry>
<mesh filename="package://interbotix_descriptions/meshes/meshes_pxxls/PXT-XLS-M-1-Base.stl" scale="0.001 0.001 0.001"/>
</geometry>
</collision>
</link>
<joint name="pan" type="revolute">
<axis xyz="0 0 1"/>
<limit effort="100" lower="${-pi}" upper="${pi}" velocity="${pi}"/>
<origin rpy="0 0 0" xyz="0 0 0.0508"/>
<parent link="$(arg robot_name)/base_link"/>
<child link="$(arg robot_name)/shoulder_link"/>
</joint>
<link name="$(arg robot_name)/shoulder_link">
<visual>
<origin rpy="0 0 ${pi/2}" xyz="0 0 -0.0022"/>
<geometry>
<mesh filename="package://interbotix_descriptions/meshes/meshes_pxxls/PXT-XLS-M-2-Shoulder.stl" scale="0.001 0.001 0.001"/>
</geometry>
<material name="interbotix_black"/>
</visual>
<collision>
<origin rpy="0 0 ${pi/2}" xyz="0 0 -0.0022"/>
<geometry>
<mesh filename="package://interbotix_descriptions/meshes/meshes_pxxls/PXT-XLS-M-2-Shoulder.stl" scale="0.001 0.001 0.001"/>
</geometry>
</collision>
</link>
<joint name="tilt" type="revolute">
<axis xyz="0 1 0"/>
<limit effort="100" lower="${radians(-90)}" upper="${radians(90)}" velocity="${pi}"/>
<origin rpy="0 0 0" xyz="0 0 0.04225"/>
<parent link="$(arg robot_name)/shoulder_link"/>
<child link="$(arg robot_name)/top_link"/>
</joint>
<link name="$(arg robot_name)/top_link">
<visual>
<origin rpy="${pi/2} 0 ${pi/2}" xyz="0 0 0"/>
<geometry>
<mesh filename="package://interbotix_descriptions/meshes/meshes_pxxls/PXT-XLS-M-3-Top.stl" scale="0.001 0.001 0.001"/>
</geometry>
<material name="interbotix_black"/>
</visual>
<collision>
<origin rpy="${pi/2} 0 ${pi/2}" xyz="0 0 0"/>
<geometry>
<mesh filename="package://interbotix_descriptions/meshes/meshes_pxxls/PXT-XLS-M-3-Top.stl" scale="0.001 0.001 0.001"/>
</geometry>
</collision>
</link>
<joint name="surface" type="fixed">
<axis xyz="1 0 0"/>
<origin rpy="0 0 0" xyz="0 0 0.036"/>
<parent link="$(arg robot_name)/top_link"/>
<child link="$(arg robot_name)/surface_link"/>
</joint>
<link name="$(arg robot_name)/surface_link">
</link>
<xacro:if value="${urdf_loc != ''}">
<xacro:include filename="${urdf_loc}"/>
</xacro:if>
</robot>