Added axis angle attitude representation. (#25)

This commit is contained in:
James Goppert
2016-07-05 20:59:42 -04:00
committed by GitHub
parent 3320d57f63
commit 0f41af271a
7 changed files with 243 additions and 2 deletions
+4
View File
@@ -90,7 +90,11 @@ int main()
Scalar<float> s;
s = 1;
float const & s_float = (const Scalar<float>)s;
const Vector<float, 1> & s_vect = s;
TEST(fabs(s - 1) < 1e-5);
TEST(fabs(s_float - 1.0f) < 1e-5);
TEST(fabs(s_vect(0) - 1.0f) < 1e-5);
Matrix<float, 1, 1> m5 = s;
TEST(fabs(m5(0,0) - s) < 1e-5);