tinysim 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,206 @@
1
+ <mujoco model="a1">
2
+ <compiler angle="radian" meshdir="assets" texturedir="assets" autolimits="true"/>
3
+
4
+
5
+
6
+ <default>
7
+ <default class="a1">
8
+ <geom friction="0.6" margin="0.001"/>
9
+ <joint axis="0 1 0" damping="2" armature="0.01" frictionloss="0.2"/>
10
+ <position kp="100" kv="2.5" forcerange="-33.5 33.5"/>
11
+ <default class="abduction">
12
+ <joint axis="1 0 0" damping="1" range="-0.802851 0.802851"/>
13
+ <position ctrlrange="-0.802851 0.802851"/>
14
+ </default>
15
+ <default class="hip">
16
+ <joint range="-1.0472 4.18879"/>
17
+ <position ctrlrange="-1.0472 4.18879"/>
18
+ </default>
19
+ <default class="knee">
20
+ <joint range="-2.69653 -0.916298"/>
21
+ <position ctrlrange="-2.69653 -0.916298"/>
22
+ </default>
23
+ <default class="visual">
24
+ <geom type="mesh" contype="0" conaffinity="0" group="2" material="dark"/>
25
+ </default>
26
+ <default class="collision">
27
+ <geom group="3" type="capsule"/>
28
+ <default class="hip_left">
29
+ <geom size="0.04 0.04" quat="1 1 0 0" type="cylinder" pos="0 0.055 0"/>
30
+ </default>
31
+ <default class="hip_right">
32
+ <geom size="0.04 0.04" quat="1 1 0 0" type="cylinder" pos="0 -0.055 0"/>
33
+ </default>
34
+ <default class="thigh1">
35
+ <geom size="0.015" fromto="-0.02 0 0 -0.02 0 -0.16"/>
36
+ </default>
37
+ <default class="thigh2">
38
+ <geom size="0.015" fromto="0 0 0 -0.02 0 -0.1"/>
39
+ </default>
40
+ <default class="thigh3">
41
+ <geom size="0.015" fromto="-0.02 0 -0.16 0 0 -0.2"/>
42
+ </default>
43
+ <default class="calf1">
44
+ <geom size="0.01" fromto="0 0 0 0.02 0 -0.13"/>
45
+ </default>
46
+ <default class="calf2">
47
+ <geom size="0.01" fromto="0.02 0 -0.13 0 0 -0.2"/>
48
+ </default>
49
+ <default class="foot">
50
+ <geom type="sphere" size="0.02" pos="0 0 -0.2" priority="1" condim="6" friction="0.8 0.02 0.01"/>
51
+ </default>
52
+ </default>
53
+ </default>
54
+ </default>
55
+
56
+ <asset>
57
+ <material name="dark" specular="0" shininess="0.25" rgba="0.2 0.2 0.2 1"/>
58
+ <texture type="2d" name="trunk_A1" file="trunk_A1.png"/>
59
+ <material name="carbonfibre" texture="trunk_A1" specular="0" shininess="0.25"/>
60
+
61
+ <mesh class="a1" file="calf.obj"/>
62
+ <mesh class="a1" file="hip.obj"/>
63
+ <mesh class="a1" file="thigh.obj"/>
64
+ <mesh class="a1" file="thigh_mirror.obj"/>
65
+ <mesh class="a1" file="trunk.obj"/>
66
+ </asset>
67
+
68
+ <worldbody>
69
+ <light name="spotlight" mode="targetbodycom" target="trunk" pos="0 -1 2"/>
70
+ <body name="trunk" pos="0 0 0.43" childclass="a1">
71
+ <freejoint/>
72
+ <inertial mass="4.713" pos="0 0.0041 -0.0005"
73
+ fullinertia="0.0158533 0.0377999 0.0456542 -3.66e-05 -6.11e-05 -2.75e-05"/>
74
+ <geom class="visual" mesh="trunk" material="carbonfibre"/>
75
+ <geom class="collision" size="0.125 0.04 0.057" type="box"/>
76
+ <geom class="collision" quat="1 0 1 0" pos="0 -0.04 0" size="0.058 0.125" type="cylinder"/>
77
+ <geom class="collision" quat="1 0 1 0" pos="0 +0.04 0" size="0.058 0.125" type="cylinder"/>
78
+ <geom class="collision" pos="0.25 0 0" size="0.005 0.06 0.05" type="box"/>
79
+ <geom class="collision" pos="0.25 0.06 -0.01" size="0.009 0.035"/>
80
+ <geom class="collision" pos="0.25 -0.06 -0.01" size="0.009 0.035"/>
81
+ <geom class="collision" pos="0.25 0 -0.05" size="0.005 0.06" quat="1 1 0 0"/>
82
+ <geom class="collision" pos="0.255 0 0.0355" size="0.021 0.052" quat="1 1 0 0"/>
83
+ <body name="FR_hip" pos="0.183 -0.047 0">
84
+ <inertial mass="0.696" pos="-0.003311 -0.000635 3.1e-05" quat="0.507528 0.506268 0.491507 0.494499"
85
+ diaginertia="0.000807752 0.00055293 0.000468983"/>
86
+ <joint class="abduction" name="FR_hip_joint"/>
87
+ <geom class="visual" mesh="hip" quat="0 1 0 0"/>
88
+ <geom class="hip_right"/>
89
+ <body name="FR_thigh" pos="0 -0.08505 0">
90
+ <inertial mass="1.013" pos="-0.003237 0.022327 -0.027326" quat="0.999125 -0.00256393 -0.0409531 -0.00806091"
91
+ diaginertia="0.00555739 0.00513936 0.00133944"/>
92
+ <joint class="hip" name="FR_thigh_joint"/>
93
+ <geom class="visual" mesh="thigh_mirror"/>
94
+ <geom class="thigh1"/>
95
+ <geom class="thigh2"/>
96
+ <geom class="thigh3"/>
97
+ <body name="FR_calf" pos="0 0 -0.2">
98
+ <inertial mass="0.226" pos="0.00472659 0 -0.131975" quat="0.706886 0.017653 0.017653 0.706886"
99
+ diaginertia="0.00340344 0.00339393 3.54834e-05"/>
100
+ <joint class="knee" name="FR_calf_joint"/>
101
+ <geom class="visual" mesh="calf"/>
102
+ <geom class="calf1"/>
103
+ <geom class="calf2"/>
104
+ <geom class="foot"/>
105
+ </body>
106
+ </body>
107
+ </body>
108
+ <body name="FL_hip" pos="0.183 0.047 0">
109
+ <inertial mass="0.696" pos="-0.003311 0.000635 3.1e-05" quat="0.494499 0.491507 0.506268 0.507528"
110
+ diaginertia="0.000807752 0.00055293 0.000468983"/>
111
+ <joint class="abduction" name="FL_hip_joint"/>
112
+ <geom class="visual" mesh="hip"/>
113
+ <geom class="hip_left"/>
114
+ <geom class="collision" size="0.04 0.04" pos="0 0.055 0" quat="1 1 0 0" type="cylinder"/>
115
+ <body name="FL_thigh" pos="0 0.08505 0">
116
+ <inertial mass="1.013" pos="-0.003237 -0.022327 -0.027326" quat="0.999125 0.00256393 -0.0409531 0.00806091"
117
+ diaginertia="0.00555739 0.00513936 0.00133944"/>
118
+ <joint class="hip" name="FL_thigh_joint"/>
119
+ <geom class="visual" mesh="thigh"/>
120
+ <geom class="thigh1"/>
121
+ <geom class="thigh2"/>
122
+ <geom class="thigh3"/>
123
+ <body name="FL_calf" pos="0 0 -0.2">
124
+ <inertial mass="0.226" pos="0.00472659 0 -0.131975" quat="0.706886 0.017653 0.017653 0.706886"
125
+ diaginertia="0.00340344 0.00339393 3.54834e-05"/>
126
+ <joint class="knee" name="FL_calf_joint"/>
127
+ <geom class="visual" mesh="calf"/>
128
+ <geom class="calf1"/>
129
+ <geom class="calf2"/>
130
+ <geom class="foot"/>
131
+ </body>
132
+ </body>
133
+ </body>
134
+ <body name="RR_hip" pos="-0.183 -0.047 0">
135
+ <inertial mass="0.696" pos="0.003311 -0.000635 3.1e-05" quat="0.491507 0.494499 0.507528 0.506268"
136
+ diaginertia="0.000807752 0.00055293 0.000468983"/>
137
+ <joint class="abduction" name="RR_hip_joint"/>
138
+ <geom class="visual" quat="0 0 0 -1" mesh="hip"/>
139
+ <geom class="hip_right"/>
140
+ <body name="RR_thigh" pos="0 -0.08505 0">
141
+ <inertial mass="1.013" pos="-0.003237 0.022327 -0.027326" quat="0.999125 -0.00256393 -0.0409531 -0.00806091"
142
+ diaginertia="0.00555739 0.00513936 0.00133944"/>
143
+ <joint class="hip" name="RR_thigh_joint"/>
144
+ <geom class="visual" mesh="thigh_mirror"/>
145
+ <geom class="thigh1"/>
146
+ <geom class="thigh2"/>
147
+ <geom class="thigh3"/>
148
+ <body name="RR_calf" pos="0 0 -0.2">
149
+ <inertial mass="0.226" pos="0.00472659 0 -0.131975" quat="0.706886 0.017653 0.017653 0.706886"
150
+ diaginertia="0.00340344 0.00339393 3.54834e-05"/>
151
+ <joint class="knee" name="RR_calf_joint"/>
152
+ <geom class="visual" mesh="calf"/>
153
+ <geom class="calf1"/>
154
+ <geom class="calf2"/>
155
+ <geom class="foot"/>
156
+ </body>
157
+ </body>
158
+ </body>
159
+ <body name="RL_hip" pos="-0.183 0.047 0">
160
+ <inertial mass="0.696" pos="0.003311 0.000635 3.1e-05" quat="0.506268 0.507528 0.494499 0.491507"
161
+ diaginertia="0.000807752 0.00055293 0.000468983"/>
162
+ <joint class="abduction" name="RL_hip_joint"/>
163
+ <geom class="visual" quat="0 0 1 0" mesh="hip"/>
164
+ <geom class="hip_left"/>
165
+ <body name="RL_thigh" pos="0 0.08505 0">
166
+ <inertial mass="1.013" pos="-0.003237 -0.022327 -0.027326" quat="0.999125 0.00256393 -0.0409531 0.00806091"
167
+ diaginertia="0.00555739 0.00513936 0.00133944"/>
168
+ <joint class="hip" name="RL_thigh_joint"/>
169
+ <geom class="visual" mesh="thigh"/>
170
+ <geom class="thigh1"/>
171
+ <geom class="thigh2"/>
172
+ <geom class="thigh3"/>
173
+ <body name="RL_calf" pos="0 0 -0.2">
174
+ <inertial mass="0.226" pos="0.00472659 0 -0.131975" quat="0.706886 0.017653 0.017653 0.706886"
175
+ diaginertia="0.00340344 0.00339393 3.54834e-05"/>
176
+ <joint class="knee" name="RL_calf_joint"/>
177
+ <geom class="visual" mesh="calf"/>
178
+ <geom class="calf1"/>
179
+ <geom class="calf2"/>
180
+ <geom class="foot"/>
181
+ </body>
182
+ </body>
183
+ </body>
184
+ </body>
185
+ </worldbody>
186
+
187
+ <actuator>
188
+ <position class="abduction" name="FR_hip" joint="FR_hip_joint"/>
189
+ <position class="hip" name="FR_thigh" joint="FR_thigh_joint"/>
190
+ <position class="knee" name="FR_calf" joint="FR_calf_joint"/>
191
+ <position class="abduction" name="FL_hip" joint="FL_hip_joint"/>
192
+ <position class="hip" name="FL_thigh" joint="FL_thigh_joint"/>
193
+ <position class="knee" name="FL_calf" joint="FL_calf_joint"/>
194
+ <position class="abduction" name="RR_hip" joint="RR_hip_joint"/>
195
+ <position class="hip" name="RR_thigh" joint="RR_thigh_joint"/>
196
+ <position class="knee" name="RR_calf" joint="RR_calf_joint"/>
197
+ <position class="abduction" name="RL_hip" joint="RL_hip_joint"/>
198
+ <position class="hip" name="RL_thigh" joint="RL_thigh_joint"/>
199
+ <position class="knee" name="RL_calf" joint="RL_calf_joint"/>
200
+ </actuator>
201
+
202
+ <keyframe>
203
+ <key name="home" qpos="0 0 0.27 1 0 0 0 0 0.9 -1.8 0 0.9 -1.8 0 0.9 -1.8 0 0.9 -1.8"
204
+ ctrl="0 0.9 -1.8 0 0.9 -1.8 0 0.9 -1.8 0 0.9 -1.8"/>
205
+ </keyframe>
206
+ </mujoco>