Updating vector and quaternion class 62/23862/3
authorRamasamy <ram.kannan@samsung.com>
Fri, 4 Jul 2014 05:39:29 +0000 (11:09 +0530)
committerRamasamy Kannan <ram.kannan@samsung.com>
Wed, 30 Jul 2014 02:50:27 +0000 (19:50 -0700)
commit3145e9c018890026a81942102c2564e0ed259195
tree699de9c1219fddf51fd18110874cb493b08d53cc
parent109b6de448f28c64741041ec38be7acca6e526d7
Updating vector and quaternion class

Vector Class

 - Adding method to update vector like a queue
 - Adding method to compute variance of vector
 - Adding method to check if vector is initialized

Quaternion Class

 - Updated the quaternion normalization method

signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I08d7fcb6c62b1fc02c53954009d13127b73e65c3
src/sensor_fusion/standalone/util/quaternion.cpp
src/sensor_fusion/standalone/util/quaternion.h
src/sensor_fusion/standalone/util/test/quaternion_test/quaternion_main.cpp
src/sensor_fusion/standalone/util/test/vector_test/vector_main.cpp
src/sensor_fusion/standalone/util/vector.cpp
src/sensor_fusion/standalone/util/vector.h