Q2GL {RSpincalc} | R Documentation |
Convert from rotation Quaternions to OpenGL rotation matrix
Description
DCM2EA
converts from Quaternions (Q) to OpenGL rotation matrix.
Usage
Q2GL(Q)
Arguments
Q |
rotation Quaternions (Q) vector [q1, q2, q3, q4]. |
Value
OpenGL rotation matrix 4x4xN.
Author(s)
Jose Gama
References
Python - IMU Brick 2012 http://www.tinkerforge.com/doc/Software/Bricks/IMU_Brick_Python.html
See Also
Examples
Q <- c(-0.1677489, -0.7369231, -0.3682588, 0.5414703)
Q2GL(Q)
[Package RSpincalc version 1.0.2 Index]