Create the conversions between quaternion and Euler angles

Test compilation requires -lpthread on Ubuntu.  Also added a .gitignore
for the test executable and object code files.

refs #216
This commit is contained in:
Alex Lin 2016-04-14 10:48:20 -05:00
parent 3ae6fc50e1
commit 5d9ab6e6c0
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
UnitTestEulerQuat
*.o

View File

@ -11,7 +11,7 @@ include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
TRICK_CPPFLAGS += -I${GTEST_HOME}/include -I$(TRICK_HOME)/include -g -Wall -Wextra -DGTEST_HAS_TR1_TUPLE=0
TRICK_LIBS = ${TRICK_LIB_DIR}/libtrick_math.a
TRICK_EXEC_LINK_LIBS += ${GTEST_HOME}/lib/libgtest.a ${GTEST_HOME}/lib/libgtest_main.a
TRICK_EXEC_LINK_LIBS += ${GTEST_HOME}/lib/libgtest.a ${GTEST_HOME}/lib/libgtest_main.a -lpthread
TRICK_EXEC_LINK_LIBS += -lm