eularAngles: Calculate the Eular angles from quaternion

Description Usage Arguments Value

View source: R/eularAngles.r

Description

Calculate the eular angles from quaternion and return (timestamp, roll1, roll2, pitch, yaw1, yaw2)

Usage

1
eularAngles(timestamp, a, b, c, d, radian = TRUE)

Arguments

timestamp

the timestamp of the step

a

represents the reading from the quaternion value of quat0

b

represents the reading from the quaternion value of quat1

c

represents the reading from the quaternion value of quat2

d

represents the reading from the quaternion value of quat3

radian

by default is TRUE, if FALSE the returned calculations would be in degrees instead.

Value

a list contains the following data (timestamp, roll1, roll2, pitch, yaw1, yaw2)


xsultan/motsai documentation built on May 4, 2019, 1:26 p.m.