-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel.sdf
142 lines (142 loc) · 3.87 KB
/
model.sdf
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version='1.0'?>
<sdf version ='1.4'>
<!-- model for qbmove-->
<model name ='qbmove'>
<static>false</static>
<link name="flange">
<pose>0.0 0.0 0.033 0 0 0</pose>
<inertial>
<pose>0 0 0.0 0 0 0</pose>
<mass>0.02</mass>
<inertia>
<ixx>0.0015</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.001</iyy>
<iyz>0</iyz>
<izz>0.001</izz>
</inertia>
</inertial>
<collision name="flange_collision">
<pose>0.0 0.0 0.033 0 0 0</pose>
<geometry>
<cylinder>
<radius>0.01</radius>
<length>0.01</length>
</cylinder>
</geometry>
</collision>
<visual name="flange_visual">
<pose>0.0 0 0.05 -1.57 0 3.14</pose>
<geometry>
<mesh>
<uri>file://meshes/c_flange.dae</uri>
</mesh>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Blue</name>
</script>
</material>
</visual>
</link>
<!---->
<link name="mot1">
<pose>0.016 -0.007 -0.002 0 95.0 0</pose>
<inertial>
<pose>0.016 -0.007 -0.002 0 95.0 0</pose>
<mass>0.001</mass>
<inertia>
<ixx>0.01</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.01</iyy>
<iyz>0</iyz>
<izz>0.01</izz>
</inertia>
</inertial>
</link>
<!---->
<link name="mot2">
<pose>0.012 0.008 0.01 0 95.0 0</pose>
<inertial>
<pose>0.012 0.008 0.01 0 95.0 0</pose>
<mass>0.001</mass>
<inertia>
<ixx>0.01</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.01</iyy>
<iyz>0</iyz>
<izz>0.01</izz>
</inertia>
</inertial>
</link>
<!---->
<!-- link -->
<link name="cube">
<pose>0 0 0.03 0.0 0 0</pose>
<inertial>
<pose>0 0.0 0.0 0 0 0</pose>
<mass>1</mass>
<inertia>
<ixx>0.015625</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.015625</iyy>
<iyz>0</iyz>
<izz>0.015625</izz>
</inertia>
</inertial>
<collision name="cube_collision">
<pose>0 0 0.0 0.0 0 0</pose>
<geometry>
<box>
<size>0.065 0.065 0.065</size>
</box>
</geometry>
</collision>
<visual name="cube_visual">
<pose>0 0 0.0 0.0 1.57 0</pose>
<geometry>
<mesh>
<uri>file://meshes/cube.dae</uri>
</mesh>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
</link>
<!-- join between links -->
<joint name="output_shaft_joint" type="revolute">
<parent>cube</parent>
<child>flange</child>
<pose>0.0 0.0 0.0 0 0 0</pose>
<axis>
<xyz>1 0 0</xyz>
</axis>
</joint>
<joint name="motor1_joint" type="revolute">
<parent>cube</parent>
<child>mot1</child>
<pose>0.016 -0.007 -0.002 0 0 0</pose>
<axis>
<xyz>1 0 0</xyz>
</axis>
</joint>
<joint name="motor2_joint" type="revolute">
<parent>cube</parent>
<child>mot2</child>
<pose>0.012 0.008 0.01 0 0 0</pose>
<axis>
<xyz>1 0 0</xyz>
</axis>
</joint>
<plugin name="plugin_cubebot" filename="build/libqbmove_plugin.so" />
</model>
</sdf>