Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MuJoCo version of shadow hand and mia hand grasping environments #52

Merged
merged 61 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
14e25a3
basic shadow hand grasp env
xkiixkii Jul 2, 2024
e172d81
basic shadow hand grasp env
xkiixkii Jul 2, 2024
cdb71f5
Add sensor related utils
xkiixkii Jul 8, 2024
e507f0e
Step simulation according to simulation time not actual time; Initial…
xkiixkii Jul 8, 2024
a1cb212
Initialize object use factory
xkiixkii Jul 8, 2024
6433850
Remove unnecessary top level settings
xkiixkii Jul 8, 2024
297e579
Set up qpos and qvel independently
xkiixkii Jul 8, 2024
e8d286e
Volumetric mesh for insole in GMSH format
xkiixkii Jul 10, 2024
fafdb30
Add load_keyfram and set_state function
xkiixkii Jul 10, 2024
05cb750
some basic logging set up
xkiixkii Jul 10, 2024
d4b913c
move set_state and load_keyframe to base_mjenv
xkiixkii Jul 10, 2024
c64a1d5
fix hand passes through insole after applying solid plugin
xkiixkii Jul 10, 2024
98b286a
some placement adjustments
xkiixkii Jul 10, 2024
5ef6a7e
update requirements
xkiixkii Jul 11, 2024
1539157
Include object com in observation space
xkiixkii Jul 15, 2024
7f4f384
add mj_utils test
xkiixkii Jul 19, 2024
0f92413
euler2quat take arraylike args; add load_model_from_string()
xkiixkii Jul 19, 2024
52611ba
Registration of MjShadowGraspInsole-v0
xkiixkii Jul 22, 2024
0aa6da5
asset manager to manager all assets path
xkiixkii Jul 22, 2024
8730d2b
base env can combine different robots and objects with asset manager
xkiixkii Jul 22, 2024
b77e4ab
initialize via obj name now
xkiixkii Jul 22, 2024
00e859a
add set position to set initial position
xkiixkii Jul 22, 2024
9b04736
load env via gymnasium
xkiixkii Jul 22, 2024
8f4017e
organize meshes and models
xkiixkii Jul 22, 2024
afca959
Add equality constraint
xkiixkii Jul 23, 2024
f92abe5
Add equality constraint utils
xkiixkii Jul 23, 2024
cc4de44
add observable obj position
xkiixkii Jul 23, 2024
29d4d13
Add load_model for individual model
xkiixkii Jul 23, 2024
1e0dc75
Add trailing slash for meshdir; Separate the floor.xml from robot an…
xkiixkii Aug 14, 2024
5794055
add obs and action space
xkiixkii Aug 14, 2024
cd2840d
grasp environment for overall grasping
xkiixkii Aug 14, 2024
e6dcf6a
basic floor for all environments
xkiixkii Aug 14, 2024
04f2cd9
Remove floor and platform, add more eq constraint to make insole float
xkiixkii Aug 14, 2024
5495e2d
Add ee joints and actuator, enable gravcomp to make robot float
xkiixkii Aug 14, 2024
f0f2ad9
Add mia hand model
xkiixkii Aug 14, 2024
40f1266
Add joint and actuator utils
xkiixkii Aug 14, 2024
bc85fd9
use mju.Pose as object pose description
xkiixkii Aug 14, 2024
8a0befe
add Mia hand
xkiixkii Aug 14, 2024
db0431c
add mia hand example
xkiixkii Aug 14, 2024
bb401db
Add test for joints and actuator utils
xkiixkii Aug 14, 2024
6d285a4
new grasp env for mia hand and shadow hand
xkiixkii Aug 14, 2024
1be3319
Register MjMiaGraspInsole-v0
xkiixkii Aug 14, 2024
389c4db
mujoco version update
xkiixkii Aug 14, 2024
8ca8384
Pose.orientation dim check
xkiixkii Aug 14, 2024
fdc7777
Add test for insole_fixed
xkiixkii Aug 14, 2024
bd879d2
Add function of getting body pose
xkiixkii Aug 14, 2024
50b1a0d
Add test cases
xkiixkii Aug 14, 2024
13e97be
Add doc string
xkiixkii Aug 16, 2024
977d7bc
typehint compatible with Python 3.8
xkiixkii Aug 17, 2024
746320a
typehint compatible with Python 3.8
xkiixkii Aug 19, 2024
fe56df8
Add observation space range and
xkiixkii Aug 20, 2024
61bb91f
Add observation space range
xkiixkii Aug 20, 2024
f6816a8
more readable function names
xkiixkii Aug 27, 2024
2dd8d4f
type hint fixed
xkiixkii Aug 27, 2024
240ac60
type hint fixed and use consistent variable name with gym
xkiixkii Aug 27, 2024
c3b4a05
typo fixed and use consistent variable name with gym
xkiixkii Aug 27, 2024
34b6621
type hint fixed
xkiixkii Aug 27, 2024
8d2728f
more readable var names
xkiixkii Aug 27, 2024
8b37076
function name changed
xkiixkii Aug 27, 2024
7845602
new assets directory
xkiixkii Aug 27, 2024
db55159
Bump version
mlaux1 Sep 3, 2024
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
Binary file not shown.
Binary file added assets/meshes/collision/robotiq/robotiq_ft300.STL
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Software License Agreement (BSD License)
Copyright © 2022 belongs to Shadow Robot Company Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of Shadow Robot Company Ltd nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
This software is provided by Shadow Robot Company Ltd "as is" and any express
or implied warranties, including, but not limited to, the implied warranties of
merchantability and fitness for a particular purpose are disclaimed. In no event
shall the copyright holder be liable for any direct, indirect, incidental, special,
exemplary, or consequential damages (including, but not limited to, procurement of
substitute goods or services; loss of use, data, or profits; or business interruption)
however caused and on any theory of liability, whether in contract, strict liability,
or tort (including negligence or otherwise) arising in any way out of the use of this
software, even if advised of the possibility of such damage.
-->
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<asset>
<contributor>
<author>Blender User</author>
<authoring_tool>Blender 3.0.1 commit date:2022-01-25, commit time:17:19, hash:dc2d18018171</authoring_tool>
</contributor>
<created>2022-02-10T09:31:08</created>
<modified>2022-02-10T09:31:08</modified>
<unit name="meter" meter="1"/>
<up_axis>Z_UP</up_axis>
</asset>
<library_images/>
<library_geometries>
<geometry id="cable_connector_palm_E3M5-mesh" name="cable_connector_palm_E3M5">
<mesh>
<source id="cable_connector_palm_E3M5-mesh-positions">
<float_array id="cable_connector_palm_E3M5-mesh-positions-array" count="84">23.68411 23.95628 4.347712 23.29755 10.86026 27.02741 33.68265 23.95628 4.518117 33.2961 10.86026 27.19781 23.71296 24.87076 2.654866 33.7115 24.87075 2.825271 23.74265 25.68771 0.9128577 33.74119 25.68772 1.083287 23.77308 26.40453 -0.8726677 33.77163 26.40454 -0.7022374 23.80416 27.01891 -2.695956 33.80271 27.01891 -2.525551 23.83577 27.52887 -4.551155 33.83433 27.52886 -4.38075 23.86784 27.93275 -6.432298 33.86639 27.93274 -6.261892 23.90024 28.22926 -8.333321 33.89879 28.22926 -8.162904 23.93288 28.41745 -10.2481 33.93142 28.41745 -10.07768 23.96564 28.49672 -12.17046 33.96419 28.49672 -12.00004 24.11651 28.61028 -21.02219 34.11505 28.61028 -20.85177 24.14343 19.13335 -22.60153 34.14197 19.13335 -22.43111 23.30607 9.994233 26.52747 33.30463 9.994228 26.69787</float_array>
<technique_common>
<accessor source="#cable_connector_palm_E3M5-mesh-positions-array" count="28" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<source id="cable_connector_palm_E3M5-mesh-normals">
<float_array id="cable_connector_palm_E3M5-mesh-normals-array" count="156">-0.008520245 0.8660258 0.4999269 -0.008520126 0.8660253 0.4999275 -0.008097231 0.8798591 0.4751659 -0.008098065 0.8798632 0.4751582 -0.007236361 0.9054061 0.424485 -0.007233679 0.9053995 0.4244992 -0.006349623 0.9280278 0.3724569 -0.006349563 0.9280265 0.3724601 -0.005440652 0.9476609 0.3192324 -0.005442202 0.9476634 0.3192251 -0.004515051 0.9642435 0.2649796 -0.004515886 0.9642459 0.264971 -0.003575623 0.9777259 0.2098557 -0.003575623 0.9777266 0.2098526 -0.002625942 0.9880571 0.1540659 -0.002624928 0.9880555 0.154076 -0.001666665 0.9952062 0.09778475 -0.001666605 0.9952065 0.09778165 -7.02046e-4 0.9991511 0.04118967 -7.02028e-4 0.9991511 0.04118973 -2.18582e-4 0.9999178 0.01282507 -2.18584e-4 0.9999178 0.01282364 0.0168097 0.1644071 -0.9862494 0.01680999 0.1644072 -0.9862494 0.003115415 -0.983139 -0.1828333 0.00311625 -0.983139 -0.1828333 -0.01475697 -0.5000076 0.8658953 -0.01475709 -0.5000058 0.8658964 -0.9998549 -6.35187e-7 -0.01704156 -0.9998549 -5.18093e-6 -0.01704138 -0.9998548 7.92017e-7 -0.0170415 -0.9998548 -3.72009e-6 -0.01704114 -0.9998548 -9.96255e-7 -0.01704126 -0.9998549 2.93822e-6 -0.0170409 -0.9998548 0 -0.01704269 -0.9998549 -6.46456e-6 -0.01703846 -0.9998548 2.9742e-6 -0.01704454 -0.9998549 2.83551e-6 -0.01704108 -0.9998548 2.65638e-6 -0.01704293 -0.9998549 -1.62074e-6 -0.01703941 0.9998549 0 0.01704049 0.9998548 4.66053e-6 0.01704561 0.9998549 1.01029e-6 0.01704126 0.9998549 -8.54753e-6 0.01704347 0.9998548 7.22277e-6 0.01704138 0.9998548 -4.65016e-6 0.01704108 0.9998549 -3.24149e-6 0.01704329 0.9998549 3.03587e-6 0.01703929 0.9998548 4.25325e-6 0.01704031 0.9998548 0 0.0170415 0.9998549 -6.46462e-6 0.01704126 0.9998548 2.867e-7 0.01704186</float_array>
<technique_common>
<accessor source="#cable_connector_palm_E3M5-mesh-normals-array" count="52" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="cable_connector_palm_E3M5-mesh-vertices">
<input semantic="POSITION" source="#cable_connector_palm_E3M5-mesh-positions"/>
</vertices>
<triangles count="52">
<input semantic="VERTEX" source="#cable_connector_palm_E3M5-mesh-vertices" offset="0"/>
<input semantic="NORMAL" source="#cable_connector_palm_E3M5-mesh-normals" offset="1"/>
<p>0 0 1 0 2 0 2 1 1 1 3 1 4 2 0 2 5 2 5 3 0 3 2 3 6 4 4 4 7 4 7 5 4 5 5 5 8 6 6 6 9 6 9 7 6 7 7 7 10 8 8 8 11 8 11 9 8 9 9 9 12 10 10 10 13 10 13 11 10 11 11 11 14 12 12 12 15 12 15 13 12 13 13 13 16 14 14 14 17 14 17 15 14 15 15 15 18 16 16 16 19 16 19 17 16 17 17 17 20 18 18 18 21 18 21 19 18 19 19 19 22 20 20 20 23 20 23 21 20 21 21 21 24 22 22 22 25 22 25 23 22 23 23 23 26 24 24 24 27 24 27 25 24 25 25 25 1 26 26 26 3 26 3 27 26 27 27 27 20 28 22 28 24 28 26 29 1 29 24 29 24 30 1 30 0 30 0 31 4 31 24 31 24 32 4 32 6 32 24 33 6 33 8 33 8 34 10 34 24 34 24 35 10 35 12 35 24 36 12 36 14 36 14 37 16 37 24 37 24 38 16 38 18 38 24 39 18 39 20 39 25 40 23 40 21 40 3 41 27 41 2 41 2 42 27 42 25 42 9 43 7 43 25 43 25 44 7 44 5 44 25 45 5 45 2 45 21 46 19 46 25 46 25 47 19 47 17 47 25 48 17 48 15 48 15 49 13 49 25 49 25 50 13 50 11 50 25 51 11 51 9 51</p>
</triangles>
</mesh>
</geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="Scene" name="Scene">
<node id="cable_connector_palm_E3M5" name="cable_connector_palm_E3M5" type="NODE">
<matrix sid="transform">1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1</matrix>
<instance_geometry url="#cable_connector_palm_E3M5-mesh" name="cable_connector_palm_E3M5"/>
</node>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#Scene"/>
</scene>
</COLLADA>
235 changes: 235 additions & 0 deletions assets/meshes/components/f_distal/bt_2p/f_distal_bt_2p.dae

Large diffs are not rendered by default.

126 changes: 126 additions & 0 deletions assets/meshes/components/f_distal/bt_2p/f_distal_bt_2p_adapter.dae

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions assets/meshes/components/f_distal/bt_sp/f_distal_bt_sp.dae

Large diffs are not rendered by default.

132 changes: 132 additions & 0 deletions assets/meshes/components/f_distal/pst/f_distal_pst.dae

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions assets/meshes/components/f_knuckle/f_knuckle_C6M2.dae

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions assets/meshes/components/f_knuckle/f_knuckle_E2M3.dae

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions assets/meshes/components/f_knuckle/f_knuckle_E3M5.dae

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions assets/meshes/components/f_knuckle/f_knuckle_G1M5.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_middle/f_middle_C6M2.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_middle/f_middle_E2M3.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_middle/f_middle_E3M5.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_middle/f_middle_G1M5.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_proximal/f_proximal_C6M2.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_proximal/f_proximal_E2M3.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_proximal/f_proximal_E3M5.dae

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions assets/meshes/components/f_proximal/f_proximal_G1M5.dae

Large diffs are not rendered by default.

134 changes: 134 additions & 0 deletions assets/meshes/components/forearm/forearm_C6M2.dae

Large diffs are not rendered by default.

202 changes: 202 additions & 0 deletions assets/meshes/components/forearm/forearm_E2M3.dae

Large diffs are not rendered by default.

304 changes: 304 additions & 0 deletions assets/meshes/components/forearm/forearm_E3M5.dae

Large diffs are not rendered by default.

122 changes: 122 additions & 0 deletions assets/meshes/components/forearm/forearm_G1M5.dae

Large diffs are not rendered by default.

134 changes: 134 additions & 0 deletions assets/meshes/components/forearm/forearm_collision_C6M2.dae

Large diffs are not rendered by default.

Loading
Loading