Skip to content

Commit

Permalink
Add Stompy Pro to *very* messy MuJoCo WASM (#418)
Browse files Browse the repository at this point in the history
* copy nathan code

* add dora

* stompypro model

* local wasm ppo

* checkpoint

* revert to 956587e

* clean

* Clean up build/lint errors revert unecessary changes

---------

Co-authored-by: Winston Hsiao <[email protected]>
  • Loading branch information
WT-MM and Winston-Hsiao authored Sep 24, 2024
1 parent c06e612 commit b6959e4
Show file tree
Hide file tree
Showing 31 changed files with 4,655 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ out*/
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

# mujoco wasm setup
!/public/dist
!/public/node_modules/three/build
17 changes: 16 additions & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@
<link rel="apple-touch-icon" href="assets/logo192.png" />
<link rel="manifest" href="assets/manifest.json" />

<!-- Add es-module-shims script -->
<script async src="https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js"></script>

<!-- Add import map -->
<script type="importmap">
{
"imports": {
"three": "/node_modules/three/build/three.module.js"
}
}
</script>

<!-- Tar Libraries -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pako/2.1.0/pako.min.js"></script>

<script>
(function (apiKey) {
(function (p, e, n, d, o) {
Expand Down Expand Up @@ -58,4 +73,4 @@
<script type="module" src="src/index.tsx"></script>
</body>

</html>
</html>
Loading

0 comments on commit b6959e4

Please sign in to comment.