22 #include <numeric/xyz.functions.hh>
28 #include <utility/vector1.hh>
33 namespace kinematics {
47 using namespace numeric;
49 assert(
Size(rb.size()) == 6 );
60 z_rotation_matrix_degrees( rb[6] ) * (
61 y_rotation_matrix_degrees( rb[5] ) *
62 x_rotation_matrix_degrees( rb[4] ) )
68 Vector rb_trans( rb[1], rb[2], rb[3] );
79 Real const tolerance( 1e-3 );
81 return ( ( delta.col_x().length() +
82 delta.col_y().length() +
83 delta.col_z().length() ) < tolerance );
115 for (
int i = 1; i <= 3; ++i ) {
116 for (
int j = 1; j <= 3; ++j ) {
121 for (
int i = 1; i <= 3; ++i ) {
138 if ( !is.fail() && tag ==
"RT" ) {
139 for (
int i = 1; i <= 3; ++i ) {
140 for (
int j = 1; j <= 3; ++j ) {
144 for (
int i = 1; i <= 3; ++i ) {
149 std::cout <<
"RT failed orthogonality check!" << std::endl;
150 is.setstate( std::ios_base::failbit );