amino
1.0-beta2
Lightweight Robot Utility Library
|
Memory layout for a planar transformation matrix. More...
#include <type.h>
Public Attributes | |
union { | |
struct { | |
aa_tf_rotmatp R | |
the rotation matrix part | |
aa_tf_vec2 v | |
the origin vector part | |
} | |
double data [6] | |
data array | |
}; | |
Memory layout for a planar transformation matrix.
It is a column-major matrix, but the bottom row is omitted because this row is the same for all SE(2) transformation matrices.
The first 4 elements are a column major rotation matrix. The last 2 elements are the origin vector.