TianxingChen commited on
Commit
db0edff
·
verified ·
1 Parent(s): 03c3d49

Add 015_lamp

Browse files
objects/015_lamp/10125/mobility.urdf ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <robot name="desk_lamp">
3
+
4
+ <!-- Materials -->
5
+ <material name="mat_black"><color rgba="0.08 0.08 0.08 1.0"/></material>
6
+ <material name="mat_gray"><color rgba="0.45 0.45 0.48 1.0"/></material>
7
+ <material name="mat_blue"><color rgba="0.10 0.35 0.95 1.0"/></material>
8
+ <material name="mat_white"><color rgba="0.95 0.95 0.95 1.0"/></material>
9
+
10
+ <!-- Base -->
11
+ <link name="base_link">
12
+ <inertial>
13
+ <origin xyz="0 0 0.015" rpy="0 0 0"/>
14
+ <mass value="1.2"/>
15
+ <inertia ixx="0.003" ixy="0.0" ixz="0.0"
16
+ iyy="0.003" iyz="0.0"
17
+ izz="0.005"/>
18
+ </inertial>
19
+
20
+ <visual>
21
+ <origin xyz="0 0 0.015" rpy="0 0 0"/>
22
+ <geometry><box size="0.18 0.14 0.03"/></geometry>
23
+ <material name="mat_black"/>
24
+ </visual>
25
+
26
+ <collision>
27
+ <origin xyz="0 0 0.015" rpy="0 0 0"/>
28
+ <geometry><box size="0.18 0.14 0.03"/></geometry>
29
+ </collision>
30
+ </link>
31
+
32
+ <!-- Pole -->
33
+ <link name="pole_link">
34
+ <inertial>
35
+ <origin xyz="0 0 0.12" rpy="0 0 0"/>
36
+ <mass value="0.25"/>
37
+ <inertia ixx="0.0006" ixy="0.0" ixz="0.0"
38
+ iyy="0.0006" iyz="0.0"
39
+ izz="0.0002"/>
40
+ </inertial>
41
+
42
+ <visual>
43
+ <origin xyz="0 0 0.12" rpy="0 0 0"/>
44
+ <geometry><cylinder radius="0.012" length="0.24"/></geometry>
45
+ <material name="mat_gray"/>
46
+ </visual>
47
+
48
+ <collision>
49
+ <origin xyz="0 0 0.12" rpy="0 0 0"/>
50
+ <geometry><cylinder radius="0.012" length="0.24"/></geometry>
51
+ </collision>
52
+ </link>
53
+
54
+ <joint name="pole_joint" type="fixed">
55
+ <parent link="base_link"/>
56
+ <child link="pole_link"/>
57
+ <origin xyz="-0.03 0 0.03" rpy="0 0 0"/>
58
+ </joint>
59
+
60
+ <!-- Lamp Head -->
61
+ <link name="lamp_head_link">
62
+ <inertial>
63
+ <origin xyz="0.04 0 0.02" rpy="0 0 0"/>
64
+ <mass value="0.18"/>
65
+ <inertia ixx="0.0005" ixy="0.0" ixz="0.0"
66
+ iyy="0.0008" iyz="0.0"
67
+ izz="0.0006"/>
68
+ </inertial>
69
+
70
+ <visual name="shade_visual">
71
+ <origin xyz="0.04 0 0.02" rpy="0 0 0"/>
72
+ <geometry><box size="0.12 0.08 0.05"/></geometry>
73
+ <material name="mat_blue"/>
74
+ </visual>
75
+
76
+ <visual name="panel_visual">
77
+ <origin xyz="0.09 0 0.005" rpy="0 0 0"/>
78
+ <geometry><box size="0.02 0.06 0.02"/></geometry>
79
+ <material name="mat_white"/>
80
+ </visual>
81
+
82
+ <collision>
83
+ <origin xyz="0.04 0 0.02" rpy="0 0 0"/>
84
+ <geometry><box size="0.12 0.08 0.05"/></geometry>
85
+ </collision>
86
+ </link>
87
+
88
+ <joint name="head_pitch_joint" type="revolute">
89
+ <parent link="pole_link"/>
90
+ <child link="lamp_head_link"/>
91
+ <origin xyz="0 0 0.24" rpy="0 0 0"/>
92
+ <axis xyz="0 1 0"/>
93
+ <limit lower="-1.2" upper="0.6" effort="2.0" velocity="2.0"/>
94
+ <dynamics damping="0.2" friction="0.05"/>
95
+ </joint>
96
+
97
+ </robot>
objects/015_lamp/10125/model_data.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "scale": 1.0,
3
+ "transform_matrix": [
4
+ [
5
+ 1.0,
6
+ 0.0,
7
+ 0.0,
8
+ 0.0
9
+ ],
10
+ [
11
+ 0.0,
12
+ 1.0,
13
+ 0.0,
14
+ 0.0
15
+ ],
16
+ [
17
+ 0.0,
18
+ 0.0,
19
+ 1.0,
20
+ 0.0
21
+ ],
22
+ [
23
+ 0.0,
24
+ 0.0,
25
+ 0.0,
26
+ 1.0
27
+ ]
28
+ ],
29
+ "init_qpos": [],
30
+ "target_points": [],
31
+ "contact_points": [],
32
+ "functional_points": [],
33
+ "orientation_point": [],
34
+ "contact_points_group": [],
35
+ "contact_points_mask": [],
36
+ "target_points_description": [],
37
+ "contact_points_description": [],
38
+ "functional_points_description": [],
39
+ "orientation_point_description": []
40
+ }