Description Usage Arguments Value Examples
See: F. Landis Markley, Yang Cheng, John Lucas Crassidis, and Yaakov Oshman. "Averaging Quaternions", Journal of Guidance, Control, and Dynamics, Vol. 30, No. 4 (2007), pp. 1193-1197. https://doi.org/10.2514/1.28949
1 |
Q |
a data frame of quaternions (four dimensional vectors) to be averaged. Each row of data frame holds one quaternion. |
4D quaternion vector.
1 2 3 4 5 | Q <- data.frame(c(0.9999986, 0.9999986, 0.9999986, 0.9999986, 0.9999986, 0.9999986),
c(0.0008716584, 0.0008716584, 0.0009590162, 0.0009590162, 0.001046359, 0.001046359),
c(0.0009608439, 0.001048034, 0.0008736689, 0.001048034, 0.0009608439, 0.0008736689),
c(0.001046359, 0.0009590162, 0.001046359, 0.0008716584, 0.0008716584, 0.0009590162))
avg.quaternion.markley(Q)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.