read.mocap: This function reads motion capture file on BVH format.

Description Usage Arguments Value Examples

Description

It also calculates direct kinematic from hierarchical kinematic. This function calls read.bvh and bvh.to.df to generate single object of mocap class. See documentation for those two functions.

Usage

1
read.mocap(filepath)

Arguments

filepath

path to a file.

Value

object of mocap class.

Examples

1
2
3
4
5
6
7
8
#an example BVH file
data("heian.nidan.bvh")
f <- file("eian.nidan.bvh")
writeChar(con = f, object = heian.nidan.bvh)
close(f)
#read hierarchical model stored in hierarchical BVH file
heian.nidan <- read.mocap("heian.nidan.bvh")
summary(heian.nidan)

browarsoftware/RMoCap documentation built on May 16, 2019, 7:28 a.m.