Instructions to use dostafan/microduck-bow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Microduck
How to use dostafan/microduck-bow with Microduck:
# Replace SLOT with the slot specified in the model card (walk, stand, sitstand, ground_pick, kick_left, kick_right, roulade). sudo robotctl policy load SLOT dostafan/microduck-bow
- Notebooks
- Google Colab
- Kaggle
publish bow: perpetual, bowdepth-trhlil2k.onnx
Browse files- README.md +32 -0
- manifest.json +36 -0
- policy.onnx +3 -0
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- microduck
|
| 4 |
+
- robotics
|
| 5 |
+
- reinforcement-learning
|
| 6 |
+
- onnx
|
| 7 |
+
library_name: microduck
|
| 8 |
+
pipeline_tag: robotics
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# bow
|
| 12 |
+
|
| 13 |
+
Bow with a plié; depth follows the command (0 stand .. 1 full bow)
|
| 14 |
+
|
| 15 |
+
A **perpetual** policy for the [microduck](https://github.com/pollen-robotics/microduck) (61-D observation, 14 actions, 50 Hz). Holds until told otherwise; the daemon drives `command.idle` for 1.5 s before handing back to the gait.
|
| 16 |
+
|
| 17 |
+
## Run it on a robot
|
| 18 |
+
|
| 19 |
+
```bash
|
| 20 |
+
sudo robotctl policy add bow dostafan/microduck-bow --hold <seconds>
|
| 21 |
+
robotctl robot do bow
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
The observation normalizer is baked into `policy.onnx`; feed raw observations.
|
| 25 |
+
`manifest.json` follows schema 2 of the microduck policy manifest (`docs/policy-manifest.md` in the daemon repo).
|
| 26 |
+
|
| 27 |
+
## Training
|
| 28 |
+
|
| 29 |
+
- **repo**: `pollen-robotics/microduck_rl`
|
| 30 |
+
- **branch**: `bow`
|
| 31 |
+
- **commit**: `0daab160d`
|
| 32 |
+
- exported from a checkout with uncommitted changes
|
manifest.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 2,
|
| 3 |
+
"model_api": 1,
|
| 4 |
+
"obs_len": 61,
|
| 5 |
+
"action_len": 14,
|
| 6 |
+
"robot": {
|
| 7 |
+
"model": "microduck",
|
| 8 |
+
"hw_rev": 1,
|
| 9 |
+
"servos": "xl330",
|
| 10 |
+
"control_hz": 50
|
| 11 |
+
},
|
| 12 |
+
"name": "bow",
|
| 13 |
+
"kind": "perpetual",
|
| 14 |
+
"entry_pose": "standing",
|
| 15 |
+
"description": "Bow with a pli\u00e9; depth follows the command (0 stand .. 1 full bow)",
|
| 16 |
+
"command": {
|
| 17 |
+
"encoding": "constant",
|
| 18 |
+
"idle": [
|
| 19 |
+
0.0,
|
| 20 |
+
0.0,
|
| 21 |
+
0.0
|
| 22 |
+
],
|
| 23 |
+
"twist": "[depth, 0, 0]: 0 = stand, 1 = full bow",
|
| 24 |
+
"head": "unused (zeros)",
|
| 25 |
+
"body": "unused (zeros)"
|
| 26 |
+
},
|
| 27 |
+
"duration_s": null,
|
| 28 |
+
"unwind_s": 1.5,
|
| 29 |
+
"training": {
|
| 30 |
+
"repo": "pollen-robotics/microduck_rl",
|
| 31 |
+
"commit": "0daab160d",
|
| 32 |
+
"branch": "bow",
|
| 33 |
+
"dirty": true,
|
| 34 |
+
"source_file": "bowdepth-trhlil2k.onnx"
|
| 35 |
+
}
|
| 36 |
+
}
|
policy.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:976004e90522491841de4c91d848b354555485eb7b9f3ca6078cc2f24c59256f
|
| 3 |
+
size 793922
|