Q2GL: Convert from rotation Quaternions to OpenGL rotation matrix

Description Usage Arguments Value Author(s) References See Also Examples

Description

DCM2EA converts from Quaternions (Q) to OpenGL rotation matrix.

Usage

1
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

isPureRotationMatrix

Examples

1
2
Q <- c(-0.1677489, -0.7369231, -0.3682588, 0.5414703)
Q2GL(Q)


Search within the RSpincalc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.