Control of humanoid agent by BVH file
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
|
Help
]
Start:
Up:[[Tutorial]] Previous:[[Grasping Function]] ...
----
#contents
* Control of humanoid agent by BVH file [#r2c7c34b]
※This tutorial is valid for later than SIGVerse v2.1.0
** Download sample programs [#k63d8bb9]
Make working directory.
$ cd ~
$ mkdir readBVH
$ cd readBVH
Please download the programs from below link.
https://github.com/SIGVerse/samples/tree/master/controlle...
>You can download all sample controllers from [[this page...
The package includes the following files.
- Controller
-- srcs/BVH.cpp
-- srcs/BVH.h
-- srcs/BVHController.cpp
-- srcs/BVHController.h
- World file
-- BVHWorld.xml
- Agent configuration file
-- Man-bvh.xml
- Shape model for the humanoid agent
-- bvh_man.x3d
- other
-- Makefile
** Compilation [#s8798c81]
$ make
BVHController.so will be output.
*** Getting bvh file [#ac1a5058]
Put your favority bvh file on the current directory (~/re...
*** Configuration of world file [#a07173c4]
Specify the target bvh file in the world file
$ emacs BVHWorld.xml
BVHWorld.xml
old
#highlight(xml:firstline[19]){{
<!--specification of bvh file-->
<set-attr-value name="BvhFile" value="./filename....
}}
new
#highlight(xml:firstline[19]){{
<!--specification of bvh file-->
<set-attr-value name="BvhFile" value="./Action_Ki...
}}
The path for the bvh file should be relative path from th...
BVHWorld.xml
#gist(sigverse-git/e53ded9d0f882fd716c4);
** Execution [#fcb6abdd]
$ sigserver.sh -w ./BVHWorld.xml
You can see an avator agent is standing with its hands op...
Push the start button to start the simulation. The bvh fi...
#ref(./motion_kick.PNG,40%)
The agent will perform kick motion.
** sample model [#z588d3da]
Joint names used in the sample model (bvh_man.x3d) is as ...
All of the joints is configured to rotate around x,y,z ax...
#ref(./joint_name.jpg)
** reference [#p7ab5310]
-[[Real animation software PV STUDIO>http://www.privatest...
#highlight(end)
Up:[[Tutorial]] Previous:[[Grasping Function]] ...
#counter
End:
Up:[[Tutorial]] Previous:[[Grasping Function]] ...
----
#contents
* Control of humanoid agent by BVH file [#r2c7c34b]
※This tutorial is valid for later than SIGVerse v2.1.0
** Download sample programs [#k63d8bb9]
Make working directory.
$ cd ~
$ mkdir readBVH
$ cd readBVH
Please download the programs from below link.
https://github.com/SIGVerse/samples/tree/master/controlle...
>You can download all sample controllers from [[this page...
The package includes the following files.
- Controller
-- srcs/BVH.cpp
-- srcs/BVH.h
-- srcs/BVHController.cpp
-- srcs/BVHController.h
- World file
-- BVHWorld.xml
- Agent configuration file
-- Man-bvh.xml
- Shape model for the humanoid agent
-- bvh_man.x3d
- other
-- Makefile
** Compilation [#s8798c81]
$ make
BVHController.so will be output.
*** Getting bvh file [#ac1a5058]
Put your favority bvh file on the current directory (~/re...
*** Configuration of world file [#a07173c4]
Specify the target bvh file in the world file
$ emacs BVHWorld.xml
BVHWorld.xml
old
#highlight(xml:firstline[19]){{
<!--specification of bvh file-->
<set-attr-value name="BvhFile" value="./filename....
}}
new
#highlight(xml:firstline[19]){{
<!--specification of bvh file-->
<set-attr-value name="BvhFile" value="./Action_Ki...
}}
The path for the bvh file should be relative path from th...
BVHWorld.xml
#gist(sigverse-git/e53ded9d0f882fd716c4);
** Execution [#fcb6abdd]
$ sigserver.sh -w ./BVHWorld.xml
You can see an avator agent is standing with its hands op...
Push the start button to start the simulation. The bvh fi...
#ref(./motion_kick.PNG,40%)
The agent will perform kick motion.
** sample model [#z588d3da]
Joint names used in the sample model (bvh_man.x3d) is as ...
All of the joints is configured to rotate around x,y,z ax...
#ref(./joint_name.jpg)
** reference [#p7ab5310]
-[[Real animation software PV STUDIO>http://www.privatest...
#highlight(end)
Up:[[Tutorial]] Previous:[[Grasping Function]] ...
#counter
Page: