Permalink
Browse files

Initial support for sensor fusion, glm as dependency

  • Loading branch information...
1 parent ef2285b commit a9f5b268c8789c1d71bd26f239181b3da5a31365 @thp committed Oct 10, 2012
Showing with 32,234 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
  2. +1 −0 LAYOUT
  3. +8 −0 external/README
  4. +21 −0 external/glm/copying.txt
  5. +468 −0 external/glm/glm/core/_detail.hpp
  6. +55 −0 external/glm/glm/core/_fixes.hpp
  7. +837 −0 external/glm/glm/core/_swizzle.hpp
  8. +787 −0 external/glm/glm/core/_swizzle_func.hpp
  9. +159 −0 external/glm/glm/core/_vectorize.hpp
  10. +41 −0 external/glm/glm/core/dummy.cpp
  11. +428 −0 external/glm/glm/core/func_common.hpp
  12. +1,187 −0 external/glm/glm/core/func_common.inl
  13. +123 −0 external/glm/glm/core/func_exponential.hpp
  14. +157 −0 external/glm/glm/core/func_exponential.inl
  15. +138 −0 external/glm/glm/core/func_geometric.hpp
  16. +324 −0 external/glm/glm/core/func_geometric.inl
  17. +201 −0 external/glm/glm/core/func_integer.hpp
  18. +602 −0 external/glm/glm/core/func_integer.inl
  19. +150 −0 external/glm/glm/core/func_matrix.hpp
  20. +584 −0 external/glm/glm/core/func_matrix.inl
  21. +87 −0 external/glm/glm/core/func_noise.hpp
  22. +364 −0 external/glm/glm/core/func_noise.inl
  23. +194 −0 external/glm/glm/core/func_packing.hpp
  24. +178 −0 external/glm/glm/core/func_packing.inl
  25. +203 −0 external/glm/glm/core/func_trigonometric.hpp
  26. +246 −0 external/glm/glm/core/func_trigonometric.inl
  27. +138 −0 external/glm/glm/core/func_vector_relational.hpp
  28. +178 −0 external/glm/glm/core/func_vector_relational.inl
  29. +40 −0 external/glm/glm/core/hint.hpp
  30. +89 −0 external/glm/glm/core/intrinsic_common.hpp
  31. +313 −0 external/glm/glm/core/intrinsic_common.inl
  32. +79 −0 external/glm/glm/core/intrinsic_exponential.hpp
  33. +27 −0 external/glm/glm/core/intrinsic_exponential.inl
  34. +76 −0 external/glm/glm/core/intrinsic_geometric.hpp
  35. +146 −0 external/glm/glm/core/intrinsic_geometric.inl
  36. +69 −0 external/glm/glm/core/intrinsic_matrix.hpp
  37. +1,070 −0 external/glm/glm/core/intrinsic_matrix.inl
  38. +48 −0 external/glm/glm/core/intrinsic_trigonometric.hpp
  39. +27 −0 external/glm/glm/core/intrinsic_trigonometric.inl
  40. +48 −0 external/glm/glm/core/intrinsic_vector_relational.hpp
  41. +366 −0 external/glm/glm/core/intrinsic_vector_relational.inl
  42. +675 −0 external/glm/glm/core/setup.hpp
  43. +341 −0 external/glm/glm/core/type.hpp
  44. +84 −0 external/glm/glm/core/type_float.hpp
  45. +169 −0 external/glm/glm/core/type_gentype.hpp
  46. +366 −0 external/glm/glm/core/type_gentype.inl
  47. +119 −0 external/glm/glm/core/type_half.hpp
  48. +415 −0 external/glm/glm/core/type_half.inl
  49. +137 −0 external/glm/glm/core/type_int.hpp
  50. +75 −0 external/glm/glm/core/type_mat.hpp
  51. +27 −0 external/glm/glm/core/type_mat.inl
  52. +316 −0 external/glm/glm/core/type_mat2x2.hpp
  53. +707 −0 external/glm/glm/core/type_mat2x2.inl
  54. +259 −0 external/glm/glm/core/type_mat2x3.hpp
  55. +646 −0 external/glm/glm/core/type_mat2x3.inl
  56. +261 −0 external/glm/glm/core/type_mat2x4.hpp
  57. +676 −0 external/glm/glm/core/type_mat2x4.inl
  58. +267 −0 external/glm/glm/core/type_mat3x2.hpp
  59. +682 −0 external/glm/glm/core/type_mat3x2.inl
  60. +320 −0 external/glm/glm/core/type_mat3x3.hpp
  61. +812 −0 external/glm/glm/core/type_mat3x3.inl
  62. +267 −0 external/glm/glm/core/type_mat3x4.hpp
  63. +718 −0 external/glm/glm/core/type_mat3x4.inl
  64. +272 −0 external/glm/glm/core/type_mat4x2.hpp
  65. +729 −0 external/glm/glm/core/type_mat4x2.inl
  66. +270 −0 external/glm/glm/core/type_mat4x3.hpp
  67. +738 −0 external/glm/glm/core/type_mat4x3.inl
  68. +321 −0 external/glm/glm/core/type_mat4x4.hpp
  69. +905 −0 external/glm/glm/core/type_mat4x4.inl
  70. +43 −0 external/glm/glm/core/type_size.hpp
  71. +41 −0 external/glm/glm/core/type_vec.hpp
  72. +27 −0 external/glm/glm/core/type_vec.inl
  73. +212 −0 external/glm/glm/core/type_vec1.hpp
  74. +928 −0 external/glm/glm/core/type_vec1.inl
  75. +319 −0 external/glm/glm/core/type_vec2.hpp
  76. +1,029 −0 external/glm/glm/core/type_vec2.inl
  77. +344 −0 external/glm/glm/core/type_vec3.hpp
  78. +1,152 −0 external/glm/glm/core/type_vec3.inl
  79. +401 −0 external/glm/glm/core/type_vec4.hpp
  80. +1,378 −0 external/glm/glm/core/type_vec4.inl
  81. +128 −0 external/glm/glm/glm.hpp
  82. +424 −0 external/glm/glm/gtc/half_float.hpp
  83. +1,009 −0 external/glm/glm/gtc/half_float.inl
  84. +291 −0 external/glm/glm/gtc/matrix_transform.hpp
  85. +410 −0 external/glm/glm/gtc/matrix_transform.inl
  86. +282 −0 external/glm/glm/gtc/quaternion.hpp
  87. +614 −0 external/glm/glm/gtc/quaternion.inl
  88. +169 −0 external/glm/glm/gtc/type_ptr.hpp
  89. +462 −0 external/glm/glm/gtc/type_ptr.inl
  90. +524 −0 external/glm/readme.txt
  91. +68 −0 include/psmove_fusion.h
  92. +146 −0 src/tracker/psmove_fusion.cpp
View
@@ -4,6 +4,7 @@ cmake_minimum_required(VERSION 2.6)
project(PSMOVEAPI)
include_directories(${PSMOVEAPI_SOURCE_DIR}/external/hidapi/hidapi)
+include_directories(${PSMOVEAPI_SOURCE_DIR}/external/glm)
set(PSMOVEAPI_MAJOR_VERSION "2")
set(PSMOVEAPI_MINOR_VERSION "0")
@@ -207,6 +208,7 @@ file(GLOB PSMOVEAPI_MOVED_SRC
file(GLOB PSMOVEAPI_TRACKER_SRC
"${PSMOVEAPI_SOURCE_DIR}/src/tracker/*.c"
+ "${PSMOVEAPI_SOURCE_DIR}/src/tracker/*.cpp"
"${PSMOVEAPI_SOURCE_DIR}/external/iniparser/*.c"
)
View
1 LAYOUT
@@ -40,6 +40,7 @@ external - Code from external sources (see README for details)
external/iniparser - Nicolas Devillard's iniparser library
external/MadgwickAHRS - Madgwick's orientation algorithm
external/TUIO_CPP - TUIO Protocol reference implementation
+ external/glm - OpenGL Mathematics library
debian - Packaging files for Debian GNU/Linux
View
@@ -50,3 +50,11 @@ TUIO Reference Implementation
by Martin Kaltenbrunner
from http://www.tuio.org/?software
+
+glm
+===
+
+A C++ mathematics library for graphics programming
+by G-Truc Creation
+from http://glm.g-truc.net/
+
View
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2005 - 2012 G-Truc Creation
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
Oops, something went wrong.

0 comments on commit a9f5b26

Please sign in to comment.