Spaces:
Running
Running
File size: 2,205 Bytes
bb9da7e 4cefcfa bb9da7e | 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 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:,">
<title>Next Balance</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<header>
<h1>Next Balance</h1>
<p>A lift platform must hold 0.5 m while its payload and friction change. Move the sliders: a fixed PID controller and an adaptive controller (online mass and friction estimation) are re-simulated in your browser under the same disturbances.</p>
<div class="badges"><span class="badge warn">Simulation only</span><span class="badge">Live in-browser simulation</span><a class="badge" href="https://huggingface.co/thelamapi/Next-Balance">Model repo</a></div>
</header>
<div class="grid">
<section class="card">
<h2>Conditions</h2>
<div id="sliders"></div>
</section>
<section class="card">
<h2>Platform</h2>
<canvas id="anim"></canvas>
<div class="row" style="margin-top:6px"><button id="play">Play</button><input type="range" id="scrub" min="0" max="1199" value="600" style="flex:1" aria-label="time"></div>
<div class="scroll" style="margin-top:8px"><table id="tbl"></table></div>
</section>
</div>
<section class="card" style="margin-top:12px">
<h2>Platform height</h2>
<canvas id="zc"></canvas><div id="zl"></div>
</section>
<div class="grid" style="margin-top:12px">
<section class="card"><h2>Actuator force (N)</h2><canvas id="uc"></canvas></section>
<section class="card"><h2>Mass estimate (kg)</h2><canvas id="mc"></canvas><div id="ml"></div></section>
</div>
<section class="card" style="margin-top:12px">
<h2>Recorded replay</h2>
<p class="small muted">Rendered by the notebook from a held-out stress scenario.</p>
<video src="replay.mp4" controls muted playsinline poster="preview.png"></video>
</section>
<p class="status" id="status"></p>
<footer>Planar 1-D simulation with idealised actuator and sensor. Not validated on hardware.</footer>
</main>
<script src="nlrt.js"></script>
<script src="nlui.js"></script>
<script src="core.js"></script>
<script src="app.js"></script>
</body>
</html>
|