ikpy
ikpy copied to clipboard
BVH parser
Is there a simple way to create a chain with BVH motion files?In fact it will be perfect to add a BVH parser.
Hello @gemlongman,
I'm not familiar with BVH motion capture files: do you know how exactly they encode their data? (And would you have an example?)
Here is a BVH file in the zip which could be found more in https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture/daz-friendly-release, they can be imported by Motion Builder to see motion. Meanwhile, there is some BVH python parser such as https://pypi.org/project/bvh/, but it will take lots of work to adapt. Running Jump To Standing Idle.zip
After some investigations I'm joining you in the fact that's a super good idea!
The BVH file's HIERARCHY section is very close to the definition of a URDF, so this shouldn't be so difficult to rewrite a parser, even from scratch. I've found a good spec here: https://research.cs.wisc.edu/graphics/Courses/cs-838-1999/Jeff/BVH.html
Regarding the features, am I right to suppose we will need actually two features?
- Creating a chain from a BVH HIERARCHY section
- Importing a forward kinematics trajectory from a BVH MOTION section
yeah~you are right Besides, for a BVH animation, the movement smooth is same important as some joint being fix at the target position. Maybe it is another big problem...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.