AUTh-ARL Core Stack
0.7
|
In this Module you will find documentation for the Eigen Plugins that we have implemented. The purpose of the plugins is to expand the functionality of Eigen library in order to fit our needs and to be compliant with the syntactic conventions of Eigen.
In order to use the plugins you should include the autharl_core/eigen_plugins.h
header before you include any other Eigen header file.
You can also include the main header file of the Core which do that for you:
Each Eigen Matrix include a constructor from an Armadillo matrix. Thus the following statements will parse an Armadillo matrix to an Eigen Matrix (the same applies for vectors):
You can parse an Eigen Matrix or Vector to Armadillo:
Calculate the skew symmetric of a matrix:
Calculate the pseudo inverse of a matrix:
Parse an Armadillo 4x1 vector representing a quaternion (w, x, y, z) to Eigen Quaternion:
Parse an Eigen Quaternion to Armadillo vector (w, x, y, z):
Calculate the quaternion error between two quaternions:
Due to the fact we use 6x1 vectors (wrenches, twists), for convinience we have the following typedefs: