vector.to.angles.frame.list: This function generates list of angles between vector and...

Description Usage Arguments Value Examples

Description

Vector is defined as v1=(f1-f2). The coordinate frame is:

All vectors are normalized.

Usage

1
vector.to.angles.frame.list(dataToCalculate, f1, f2, xt1, xt2)

Arguments

dataToCalculate

data frame with motion capture data.

f1

name of the first joint of vector.

f2

name of the second joint of vector.

xt1

name of the first joint of horizontal axis of coordinate frame.

xt2

name of the second joint of horizontal axis of coordinate frame.

Value

Results are list of vectors defined as follow: (angle(Y, v1), angle(Z, v1), angle(X, v1)).

Examples

1
2
data("heian.yondan")
vector.to.angles.frame.list(heian.yondan[1:3,], "RightArm", "RightForearm", "RightShoulder", "LeftShoulder")

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