English | 中文
motion_viewer is a web-based visualization tool for robot models and motion data.
Its core purpose is to quickly load robot models in the browser and play motion sequences for model validation, data inspection, debugging, and demos.
- Download LAFAN1 or lafan1-resolved.
- Drag and drop
.bvhfile.
- Download Unitree-LAFAN1-Retargeting.
- Drag and drop
g1/h1/h1_2folder underrobot_descriptionto load urdf. - Drag and drop any motion file (.csv) under corrospond folder.
- Download SMPL model SMPL-H (.npz), SMPL-X and AMASS dataset.
- According which motion you want to play, drag and drop corrospond model folder first, then drag and drop the motion file (.npz).
- eg. To visualize
AMASS/ACCAD/SMPL-X G/Female1General_c3d/A1_-_Stand_stageii.npz, chooseSMPL-X.
- eg. To visualize
- Download SMPL-X model.
- OMOMO dataset includes all motions in one .p file so it's to big to load using browser.
- You can download original dataset OMOMO (~21G) and use scripts to transfer and split it.
pip install joblib
python3 tools/convert_omomo_seq_to_motion_npz.py \
--data-root <path-to-omomo-dir> \
--output-dir-name <path-to-output-dir> \
--overwrite- Or you can download the preprocessed dataset omomo-resolved.
- Drag and drop
SMPL-Xmodel folder. - Drag and drop
captured_objectsobject model folder. - Drag and drop motion file (.npz).
dance1_subject1.bvhbvh from LAFAN1.g1,h1,h1_2urdf and corrospnddance1_subject1.csvfrom Unitree-LAFAN1-Retargeting.SMPL-X Femalemodel from SMPL-X.SMPL-X G/Male2MartialArtsExtended_c3d/Extended_3_stageii.npzfrom ACCAD.largetable_cleaned_simplified.objfrom OMOMO.sub1_largetable_013.npzfrom omomo-resolved.
These motions are provided for website feature demonstration only. No model or motion downloads are offered. Please obtain assets from the original source and follow its license terms. For infringement concerns, contact rkzdtc@gmail.com.
Space: play/pauseR: reset to frame 1Tab: switch view mode (root lock/free)Shift: toggle SMPL mesh/skeleton- Motion slider: seek by frame
- Motion panel:
FPSinput for CSV playback speedBVH Unitdropdown (m,dm,cm,inch,feet)
- Install npm.
- Install dependencies, build and start dev server:
npm install
npm run build
npm run dev- Open the URL printed by Vite.
- robot_viewer
- urdf-loaders
- BVHView
- amass
- body_visualizer
- human_body_prior
- omomo_release
- GMR
- This project was completed using Codex vibe coding.