├── vendor ├── eigen │ ├── test │ │ ├── evaluator_common.h │ │ ├── bug1213.h │ │ ├── bug1213.cpp │ │ └── bug1213_main.cpp │ ├── debug │ │ └── gdb │ │ │ └── __init__.py │ ├── Eigen │ │ ├── Eigen │ │ ├── src │ │ │ └── Core │ │ │ │ └── util │ │ │ │ └── NonMPL2.h │ │ └── Dense │ ├── doc │ │ ├── examples │ │ │ ├── .krazy │ │ │ ├── make_circulant.cpp.preamble │ │ │ ├── make_circulant.cpp.entry │ │ │ ├── make_circulant.cpp.main │ │ │ ├── Cwise_erf.cpp │ │ │ ├── Cwise_erfc.cpp │ │ │ ├── Cwise_lgamma.cpp │ │ │ ├── QuickStart_example.cpp │ │ │ ├── tut_matrix_resize_fixed_size.cpp │ │ │ ├── Tutorial_ArrayClass_mult.cpp │ │ │ ├── Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp │ │ │ ├── Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp │ │ │ ├── DenseBase_middleCols_int.cpp │ │ │ ├── DenseBase_middleRows_int.cpp │ │ │ ├── DenseBase_template_int_middleCols.cpp │ │ │ ├── DenseBase_template_int_middleRows.cpp │ │ │ ├── QuickStart_example2_fixed.cpp │ │ │ ├── Tutorial_simple_example_fixed_size.cpp │ │ │ ├── QuickStart_example2_dynamic.cpp │ │ │ ├── make_circulant.cpp │ │ │ └── Tutorial_BlockOperations_vector.cpp │ │ ├── snippets │ │ │ ├── .krazy │ │ │ ├── Cwise_minus.cpp │ │ │ ├── Cwise_plus.cpp │ │ │ ├── Cwise_abs.cpp │ │ │ ├── Cwise_cube.cpp │ │ │ ├── Cwise_exp.cpp │ │ │ ├── Cwise_log.cpp │ │ │ ├── Cwise_sign.cpp │ │ │ ├── Cwise_sqrt.cpp │ │ │ ├── MatrixBase_random.cpp │ │ │ ├── MatrixBase_random_int.cpp │ │ │ ├── Cwise_abs2.cpp │ │ │ ├── Cwise_inverse.cpp │ │ │ ├── Cwise_log10.cpp │ │ │ ├── Cwise_square.cpp │ │ │ ├── MatrixBase_ones_int_int.cpp │ │ │ ├── MatrixBase_random_int_int.cpp │ │ │ ├── MatrixBase_zero_int_int.cpp │ │ │ ├── Cwise_acos.cpp │ │ │ ├── Cwise_asin.cpp │ │ │ ├── Cwise_greater.cpp │ │ │ ├── Cwise_less.cpp │ │ │ ├── Cwise_max.cpp │ │ │ ├── Cwise_min.cpp │ │ │ ├── Cwise_plus_equal.cpp │ │ │ ├── Cwise_pow.cpp │ │ │ ├── Cwise_quotient.cpp │ │ │ ├── MatrixBase_identity.cpp │ │ │ ├── MatrixBase_identity_int_int.cpp │ │ │ ├── Cwise_cos.cpp │ │ │ ├── Cwise_equal_equal.cpp │ │ │ ├── Cwise_less_equal.cpp │ │ │ ├── Cwise_minus_equal.cpp │ │ │ ├── Cwise_not_equal.cpp │ │ │ ├── Cwise_sin.cpp │ │ │ ├── Cwise_tan.cpp │ │ │ ├── MatrixBase_cwiseSqrt.cpp │ │ │ ├── Matrix_setOnes_int.cpp │ │ │ ├── Matrix_setZero_int.cpp │ │ │ ├── Cwise_atan.cpp │ │ │ ├── Cwise_cosh.cpp │ │ │ ├── Cwise_greater_equal.cpp │ │ │ ├── Cwise_sinh.cpp │ │ │ ├── Cwise_tanh.cpp │ │ │ ├── MatrixBase_asDiagonal.cpp │ │ │ ├── Matrix_setOnes_int_int.cpp │ │ │ ├── Matrix_setRandom_int.cpp │ │ │ ├── Matrix_setZero_int_int.cpp │ │ │ ├── Cwise_boolean_or.cpp │ │ │ ├── Cwise_boolean_xor.cpp │ │ │ ├── Cwise_slash_equal.cpp │ │ │ ├── Cwise_times_equal.cpp │ │ │ ├── MatrixBase_cwiseMax.cpp │ │ │ ├── MatrixBase_cwiseMin.cpp │ │ │ ├── Matrix_setConstant_int.cpp │ │ │ ├── Matrix_setRandom_int_int.cpp │ │ │ ├── Cwise_boolean_and.cpp │ │ │ ├── Matrix_setConstant_int_int.cpp │ │ │ ├── Matrix_setIdentity_int_int.cpp │ │ │ ├── DenseBase_setLinSpaced.cpp │ │ │ ├── MatrixBase_cwiseQuotient.cpp │ │ │ ├── MatrixBase_ones.cpp │ │ │ ├── MatrixBase_zero.cpp │ │ │ ├── MatrixBase_array.cpp │ │ │ ├── MatrixBase_setOnes.cpp │ │ │ ├── MatrixBase_setZero.cpp │ │ │ ├── MatrixBase_zero_int.cpp │ │ │ ├── Cwise_arg.cpp │ │ │ ├── MatrixBase_col.cpp │ │ │ ├── MatrixBase_ones_int.cpp │ │ │ ├── MatrixBase_row.cpp │ │ │ ├── MatrixBase_setRandom.cpp │ │ │ ├── TopicAliasing_mult1.cpp │ │ │ ├── Tutorial_commainit_01.cpp │ │ │ ├── Cwise_ceil.cpp │ │ │ ├── Cwise_floor.cpp │ │ │ ├── Cwise_round.cpp │ │ │ ├── Cwise_scalar_power_array.cpp │ │ │ ├── Map_simple.cpp │ │ │ ├── MatrixBase_cwiseAbs.cpp │ │ │ ├── MatrixBase_cwiseAbs2.cpp │ │ │ ├── MatrixBase_cwiseSign.cpp │ │ │ ├── MatrixBase_setIdentity.cpp │ │ │ ├── TopicAliasing_mult3.cpp │ │ │ ├── MatrixBase_cwiseInverse.cpp │ │ │ ├── Cwise_isInf.cpp │ │ │ ├── Cwise_isNaN.cpp │ │ │ ├── Cwise_isFinite.cpp │ │ │ ├── TopicAliasing_mult4.cpp │ │ │ ├── Cwise_boolean_not.cpp │ │ │ ├── DenseBase_LinSpaced.cpp │ │ │ ├── MatrixBase_cast.cpp │ │ │ ├── TopicAliasing_mult5.cpp │ │ │ ├── Matrix_resize_NoChange_int.cpp │ │ │ ├── Matrix_resize_int_NoChange.cpp │ │ │ ├── MatrixBase_select.cpp │ │ │ ├── Tutorial_commainit_01b.cpp │ │ │ ├── MatrixBase_noalias.cpp │ │ │ ├── Map_outer_stride.cpp │ │ │ ├── MatrixBase_operatorNorm.cpp │ │ │ ├── Cwise_product.cpp │ │ │ ├── DenseBase_LinSpaced_seq.cpp │ │ │ ├── MatrixBase_inverse.cpp │ │ │ ├── MatrixBase_cwiseProduct.cpp │ │ │ ├── PartialRedux_sum.cpp │ │ │ ├── Tutorial_AdvancedInitialization_Block.cpp │ │ │ ├── MatrixBase_eigenvalues.cpp │ │ │ ├── MatrixBase_prod.cpp │ │ │ ├── PartialRedux_norm.cpp │ │ │ ├── PartialRedux_prod.cpp │ │ │ ├── SelfAdjointView_operatorNorm.cpp │ │ │ ├── Map_general_stride.cpp │ │ │ ├── MatrixBase_adjoint.cpp │ │ │ ├── Matrix_Map_stride.cpp │ │ │ ├── Tutorial_solve_matrix_inverse.cpp │ │ │ ├── LeastSquaresQR.cpp │ │ │ ├── MatrixBase_replicate.cpp │ │ │ ├── MatrixBase_replicate_int_int.cpp │ │ │ ├── PartialRedux_maxCoeff.cpp │ │ │ ├── PartialRedux_minCoeff.cpp │ │ │ ├── Tutorial_ReshapeMat2Mat.cpp │ │ │ ├── Tutorial_SlicingVec.cpp │ │ │ ├── EigenSolver_eigenvalues.cpp │ │ │ ├── Map_placement_new.cpp │ │ │ ├── PartialRedux_squaredNorm.cpp │ │ │ ├── Tutorial_solve_triangular_inplace.cpp │ │ │ ├── DirectionWise_replicate_int.cpp │ │ │ ├── EigenSolver_eigenvectors.cpp │ │ │ ├── MatrixBase_diagonal.cpp │ │ │ ├── SelfAdjointView_eigenvalues.cpp │ │ │ ├── DirectionWise_replicate.cpp │ │ │ ├── tut_arithmetic_transpose_inplace.cpp │ │ │ ├── SelfAdjointEigenSolver_eigenvalues.cpp │ │ │ ├── Tutorial_AdvancedInitialization_CommaTemporary.cpp │ │ │ ├── LeastSquaresNormalEquations.cpp │ │ │ ├── Map_inner_stride.cpp │ │ │ ├── tut_arithmetic_transpose_aliasing.cpp │ │ │ ├── ComplexEigenSolver_eigenvectors.cpp │ │ │ ├── tut_matrix_assignment_resizing.cpp │ │ │ ├── SelfAdjointEigenSolver_eigenvectors.cpp │ │ │ ├── AngleAxis_mimic_euler.cpp │ │ │ ├── MatrixBase_isOnes.cpp │ │ │ ├── MatrixBase_isZero.cpp │ │ │ ├── ComplexSchur_matrixU.cpp │ │ │ ├── ComplexEigenSolver_eigenvalues.cpp │ │ │ ├── MatrixBase_applyOnTheLeft.cpp │ │ │ ├── MatrixBase_end_int.cpp │ │ │ ├── MatrixBase_start_int.cpp │ │ │ ├── Tutorial_commainit_02.cpp │ │ │ ├── Cwise_array_power_array.cpp │ │ │ ├── Jacobi_makeGivens.cpp │ │ │ ├── MatrixBase_array_const.cpp │ │ │ ├── MatrixBase_isUnitary.cpp │ │ │ ├── MatrixBase_isIdentity.cpp │ │ │ ├── MatrixBase_template_int_end.cpp │ │ │ ├── Matrix_resize_int.cpp │ │ │ ├── MatrixBase_leftCols_int.cpp │ │ │ ├── MatrixBase_template_int_start.cpp │ │ │ ├── MatrixBase_topRows_int.cpp │ │ │ ├── MatrixBase_block_int_int.cpp │ │ │ ├── MatrixBase_isDiagonal.cpp │ │ │ ├── MatrixBase_rightCols_int.cpp │ │ │ ├── MatrixBase_bottomRows_int.cpp │ │ │ ├── MatrixBase_segment_int_int.cpp │ │ │ ├── MatrixBase_template_int_leftCols.cpp │ │ │ ├── MatrixBase_template_int_segment.cpp │ │ │ ├── MatrixBase_template_int_topRows.cpp │ │ │ ├── ComplexSchur_matrixT.cpp │ │ │ ├── MatrixBase_block_int_int_int_int.cpp │ │ │ ├── MatrixBase_template_int_rightCols.cpp │ │ │ ├── PartialRedux_count.cpp │ │ │ ├── TopicAliasing_mult2.cpp │ │ │ ├── MatrixBase_template_int_bottomRows.cpp │ │ │ ├── MatrixBase_diagonal_int.cpp │ │ │ ├── MatrixBase_topLeftCorner_int_int.cpp │ │ │ ├── TopicAliasing_block.cpp │ │ │ ├── MatrixBase_fixedBlock_int_int.cpp │ │ │ ├── MatrixBase_rowwise.cpp │ │ │ ├── MatrixBase_topRightCorner_int_int.cpp │ │ │ ├── MatrixBase_colwise.cpp │ │ │ ├── MatrixBase_cwiseEqual.cpp │ │ │ ├── MatrixBase_diagonal_template_int.cpp │ │ │ ├── TopicAliasing_block_correct.cpp │ │ │ ├── Tutorial_solve_singular.cpp │ │ │ ├── MatrixBase_bottomLeftCorner_int_int.cpp │ │ │ ├── MatrixBase_template_int_int_block_int_int_int_int.cpp │ │ │ ├── MatrixBase_template_int_int_topLeftCorner.cpp │ │ │ ├── Tutorial_solve_triangular.cpp │ │ │ ├── Jacobi_makeJacobi.cpp │ │ │ ├── MatrixBase_bottomRightCorner_int_int.cpp │ │ │ ├── MatrixBase_cwiseNotEqual.cpp │ │ │ ├── MatrixBase_template_int_int_topRightCorner.cpp │ │ │ ├── MatrixBase_isOrthogonal.cpp │ │ │ ├── MatrixBase_template_int_int_bottomLeftCorner.cpp │ │ │ ├── Tutorial_AdvancedInitialization_LinSpaced.cpp │ │ │ ├── ComplexSchur_compute.cpp │ │ │ ├── MatrixBase_template_int_int_bottomRightCorner.cpp │ │ │ ├── Tutorial_Map_rowmajor.cpp │ │ │ ├── HouseholderQR_householderQ.cpp │ │ │ ├── Tutorial_AdvancedInitialization_Join.cpp │ │ │ ├── FullPivLU_kernel.cpp │ │ │ ├── MatrixBase_applyOnTheRight.cpp │ │ │ ├── MatrixBase_template_int_int_topLeftCorner_int_int.cpp │ │ │ ├── MatrixBase_set.cpp │ │ │ ├── MatrixBase_template_int_int_topRightCorner_int_int.cpp │ │ │ ├── Tridiagonalization_householderCoefficients.cpp │ │ │ ├── Tutorial_ReshapeMat2Vec.cpp │ │ │ ├── tut_arithmetic_transpose_conjugate.cpp │ │ │ ├── MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp │ │ │ ├── ColPivHouseholderQR_solve.cpp │ │ │ ├── FullPivHouseholderQR_solve.cpp │ │ │ ├── MatrixBase_template_int_int_bottomRightCorner_int_int.cpp │ │ │ ├── RealSchur_compute.cpp │ │ │ ├── HessenbergDecomposition_compute.cpp │ │ │ ├── Tutorial_solve_multiple_rhs.cpp │ │ │ ├── EigenSolver_compute.cpp │ │ │ ├── MatrixBase_computeInverseWithCheck.cpp │ │ │ ├── MatrixBase_selfadjointView.cpp │ │ │ ├── MatrixBase_hnormalized.cpp │ │ │ ├── PartialPivLU_solve.cpp │ │ │ ├── HouseholderQR_solve.cpp │ │ │ ├── FullPivLU_image.cpp │ │ │ ├── SelfAdjointEigenSolver_operatorSqrt.cpp │ │ │ ├── SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp │ │ │ ├── SelfAdjointEigenSolver_compute_MatrixType.cpp │ │ │ ├── Tutorial_AdvancedInitialization_Zero.cpp │ │ │ └── HessenbergDecomposition_matrixH.cpp │ │ ├── ftv2node.png │ │ ├── ftv2pnode.png │ │ ├── Eigen_Silly_Professor_64x64.png │ │ ├── TutorialSparse_example_details.dox │ │ ├── TopicVectorization.dox │ │ ├── TopicResizing.dox │ │ ├── TopicScalarTypes.dox │ │ ├── TopicEigenExpressionTemplates.dox │ │ └── special_examples │ │ │ └── random_cpp11.cpp │ ├── scripts │ │ ├── debug.in │ │ ├── release.in │ │ └── CMakeLists.txt │ ├── bench │ │ ├── btl │ │ │ ├── libs │ │ │ │ ├── STL │ │ │ │ │ └── CMakeLists.txt │ │ │ │ ├── gmm │ │ │ │ │ └── CMakeLists.txt │ │ │ │ ├── mtl4 │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── .kdbgrc.main │ │ │ │ ├── tvmet │ │ │ │ │ └── CMakeLists.txt │ │ │ │ └── ublas │ │ │ │ │ └── CMakeLists.txt │ │ │ └── generic_bench │ │ │ │ ├── timers │ │ │ │ ├── STL_timer.hh │ │ │ │ ├── STL_perf_analyzer.hh │ │ │ │ └── mixed_perf_analyzer.hh │ │ │ │ ├── utils │ │ │ │ └── size_lin_log.hh │ │ │ │ └── static │ │ │ │ ├── intel_bench_fixed_size.hh │ │ │ │ └── static_size_generator.hh │ │ ├── perf_monitoring │ │ │ └── gemm │ │ │ │ ├── lazy_gemm_settings.txt │ │ │ │ └── gemm_settings.txt │ │ └── bench_sum.cpp │ ├── unsupported │ │ ├── test │ │ │ └── FFT.cpp │ │ ├── doc │ │ │ └── CMakeLists.txt │ │ ├── Eigen │ │ │ ├── src │ │ │ │ └── EulerAngles │ │ │ │ │ └── CMakeLists.txt │ │ │ └── CXX11 │ │ │ │ └── CMakeLists.txt │ │ └── CMakeLists.txt │ ├── .hg_archival.txt │ ├── blas │ │ ├── f2c │ │ │ ├── r_cnjg.c │ │ │ └── d_cnjg.c │ │ └── README.txt │ ├── README.md │ ├── failtest │ │ ├── failtest_sanity_check.cpp │ │ ├── swap_2.cpp │ │ ├── ternary_1.cpp │ │ ├── ref_2.cpp │ │ ├── swap_1.cpp │ │ ├── ternary_2.cpp │ │ ├── ref_3.cpp │ │ ├── ref_4.cpp │ │ ├── bdcsvd_int.cpp │ │ ├── llt_int.cpp │ │ ├── ref_5.cpp │ │ ├── sparse_ref_2.cpp │ │ ├── sparse_ref_4.cpp │ │ ├── fullpivlu_int.cpp │ │ ├── jacobisvd_int.cpp │ │ ├── ldlt_int.cpp │ │ ├── map_nonconst_ctor_on_const_ptr_0.cpp │ │ ├── qr_int.cpp │ │ ├── partialpivlu_int.cpp │ │ ├── colpivqr_int.cpp │ │ ├── diagonal_nonconst_ctor_on_const_xpr.cpp │ │ ├── fullpivqr_int.cpp │ │ ├── transpose_nonconst_ctor_on_const_xpr.cpp │ │ ├── block_nonconst_ctor_on_const_xpr_0.cpp │ │ ├── block_nonconst_ctor_on_const_xpr_1.cpp │ │ ├── eigensolver_int.cpp │ │ ├── map_on_const_type_actually_const_1.cpp │ │ ├── const_qualified_block_method_retval_1.cpp │ │ ├── const_qualified_diagonal_method_retval.cpp │ │ ├── const_qualified_transpose_method_retval.cpp │ │ ├── map_nonconst_ctor_on_const_ptr_1.cpp │ │ ├── triangularview_nonconst_ctor_on_const_xpr.cpp │ │ ├── const_qualified_block_method_retval_0.cpp │ │ ├── map_on_const_type_actually_const_0.cpp │ │ ├── ref_1.cpp │ │ ├── selfadjointview_nonconst_ctor_on_const_xpr.cpp │ │ ├── sparse_ref_3.cpp │ │ ├── eigensolver_cplx.cpp │ │ ├── diagonal_on_const_type_actually_const.cpp │ │ ├── block_nonconst_ctor_on_const_xpr_2.cpp │ │ ├── transpose_on_const_type_actually_const.cpp │ │ ├── block_on_const_type_actually_const_0.cpp │ │ ├── block_on_const_type_actually_const_1.cpp │ │ ├── map_nonconst_ctor_on_const_ptr_2.cpp │ │ ├── sparse_ref_5.cpp │ │ ├── cwiseunaryview_nonconst_ctor_on_const_xpr.cpp │ │ ├── selfadjointview_on_const_type_actually_const.cpp │ │ ├── triangularview_on_const_type_actually_const.cpp │ │ ├── sparse_storage_mismatch.cpp │ │ ├── sparse_ref_1.cpp │ │ ├── cwiseunaryview_on_const_type_actually_const.cpp │ │ ├── map_nonconst_ctor_on_const_ptr_3.cpp │ │ └── map_nonconst_ctor_on_const_ptr_4.cpp │ ├── CTestCustom.cmake.in │ ├── cmake │ │ └── UseEigen3.cmake │ ├── .hgeol │ ├── signature_of_eigen3_matrix_library │ ├── eigen3.pc.in │ ├── demos │ │ ├── mix_eigen_and_c │ │ │ └── README │ │ ├── CMakeLists.txt │ │ └── mandelbrot │ │ │ └── README │ └── .hgignore ├── util-headers │ └── README.txt ├── FloatExceptions │ └── FloatExceptions.vcxproj.filters └── dummy-sal │ └── README.md ├── NOTICE ├── apps ├── osvr_server.rc ├── pitch.png ├── roll.png ├── yaw.png ├── osvr_server.ico ├── displays │ └── field_of_view_calculator.xlsx ├── sample-configs │ ├── osvr_server_config.autodetectonly.sample.json │ ├── osvr_server_config.HDKv1.1.sample.json │ ├── osvr_server_config.OpenCVCamera.sample.json │ ├── osvr_server_config.locomotion.sample.json │ ├── osvr_server_config.shared.sample.json │ ├── osvr_server_config.skeleton.sample.json │ └── osvr_server_config.eyeTracker.sample.json ├── external-devices │ ├── osvr_server_config.externalvrpn_Futaba_InterLink_Elite.json │ ├── osvr_server_config.externalvrpn.SideWinder.json │ ├── osvr_server_config.externalvrpn.SaitekST290.json │ ├── osvr_server_config.externalvrpn.SideWinder2.json │ ├── device-descriptors │ │ ├── PhaseSpace_Motion_Capture.json │ │ ├── Polhemus_G4.json │ │ ├── In2Games_Gametrak.json │ │ ├── Polhemus_LIBERTY.json │ │ ├── Atmel_ATmega32.json │ │ ├── Polhemus_3Space_Tracker.json │ │ ├── X-keys_XK-3.json │ │ ├── Zaber_T-LA.json │ │ ├── Polhemus_LIBERTY_LATUS.json │ │ ├── Polhemus_PowerTRAK_360.json │ │ ├── VR-Space_WinTrackerIII.json │ │ ├── Polhemus_Isotrak_tracker.json │ │ ├── TRIVISIO_Colibri.json │ │ ├── Crossbow_RGA300CA.json │ │ ├── Dream_Cheeky_Drum_Kit.json │ │ ├── GPS_NMEA.json │ │ ├── Motion_Workshop_MotionNode.json │ │ ├── NDI_Polaris_Vicra.json │ │ ├── X-keys_Desktop_USB.json │ │ ├── X-keys_Pro_USB.json │ │ ├── NDI_Polaris_Spectra.json │ │ ├── Origin_Instruments_DynaSight.json │ │ ├── Vinten_Radamec_SPI.json │ │ ├── 5DT_Data_Glove_16.json │ │ ├── 5DT_Data_Glove_5_Ultra.json │ │ ├── Ascension_Flock_of_Birds.json │ │ ├── InterSense_IS-900_Hand_tracker.json │ │ ├── InterSense_IS-900_Head_tracker.json │ │ ├── National_Instruments_DAQCard_DIO_24.json │ │ ├── US_Digital_A2_Absolute_Rotary_Encoder.json │ │ ├── 5DT_Data_Glove_14_Ultra.json │ │ ├── Nintendo_WiiMote.json │ │ ├── Oculus_Rift_DK1.json │ │ ├── Oculus_Rift_DK2.json │ │ ├── Global_Haptics_Orb.json │ │ ├── BG_Systems_CerealBox.json │ │ ├── Novint_Falcon.json │ │ ├── Mindtel_TNG3.json │ │ ├── X-keys_Joystick.json │ │ ├── 3Dconnexion_Spaceball_5000.json │ │ ├── 3Dconnexion_Spacemouse_Pro.json │ │ ├── Griffin_Powermate.json │ │ ├── 3Dconnexion_Spacemouse_Plus_XT.json │ │ ├── CH_Products_Fighterstick_USB.json │ │ ├── LogiCad_3D_Magellan_controller.json │ │ ├── MicroScribe_3D.json │ │ ├── X-keys_XK-12_Joystick.json │ │ ├── 3Dconnexion_Spacemouse_Wireless.json │ │ ├── Contour_Design_ShuttleXpress.json │ │ └── X-keys_Jog_and_Shuttle.json │ ├── osvr_server_config.externalvrpn.Afterglow_AX1.json │ ├── osvr_server_config.externalvrpn.Xbox_ControllerS.json │ ├── osvr_server_config.externalvrpn.Xbox_Controller360.json │ └── osvr_server_config.externalvrpn.Logitech_Extreme_3D_Pro.json └── osvr_log_to_csv │ └── CMakeLists.txt ├── cmake ├── launcher-templates │ ├── launcher.env.cmd.in │ ├── launcher.env.sh.in │ ├── vcxproj.user.in │ ├── targetlauncher.cmd.in │ ├── genericlauncher.cmd.in │ └── vcproj.user.in ├── workarounds │ ├── mac-gl │ │ └── GL │ │ │ ├── gl.h │ │ │ ├── glui.h │ │ │ └── glut.h │ ├── mac-openal │ │ └── AL │ │ │ ├── al.h │ │ │ └── alc.h │ ├── mac-alut-framework │ │ └── AL │ │ │ └── alut.h │ └── tchar │ │ └── tchar.h ├── module-docs │ ├── AllModuleDependencies.jpg │ ├── AllModuleDependencies.pdf │ └── AllModuleDependencies.png ├── update-help.sh ├── .gitattributes ├── BoostTestTargetsStatic.h ├── GetDefineString.cpp.in ├── BoostTestTargetsIncluded.h ├── BoostTestTargetsDynamic.h ├── Findcppcheck.cpp ├── StampSourcesWithVersion.sed.in ├── ghost-fake-stl │ ├── alloc.h │ └── pair.h └── export-to-directory.sh ├── devtools ├── format-file.cmd ├── add_sdk_to_registry.cmd ├── cianalyze.cmd ├── install-eigen-visualizers.cmd ├── iwyu.imp ├── gen-iwyu-mappings.sh ├── listHeaders.sh ├── listSources.sh ├── CMakeLists.txt └── iwyu.sh ├── doc ├── world-axes.png ├── world-axes.skp ├── paths-example.png ├── aliases-example.png ├── plugin-buildproducts.png ├── plugin-cmake-1-initial.png ├── plugin-cmake-3-choose-prefix.png ├── plugin-cmake-4-after-prefix.png ├── plugin-cmake-2-add-prefix-path.png ├── plugin-cmake-5-create-builddir.png ├── plugin-cmake-6-choose-generator.png ├── plugin-snapshot-and-plugindir.png └── namespace_osvr.dox ├── .linter-clang-flags.in ├── assets ├── doxygen │ ├── sync_on.png │ ├── ftv2mnode.png │ ├── ftv2pnode.png │ ├── sync_off.png │ └── ftv2mlastnode.png ├── osvr-logo-for-docs.png ├── osvr_server_icon_16.png ├── osvr_server_icon_24.png ├── osvr_server_icon_256.png ├── osvr_server_icon_32.png └── osvr_server_icon_48.png ├── Brewfile ├── tests ├── header_dependencies │ ├── main.cpp │ └── main.c ├── CMakeLists.txt └── cplusplus │ ├── TypePack │ └── CMakeLists.txt │ ├── Connection │ └── CMakeLists.txt │ └── Kalman │ └── CMakeLists.txt ├── src └── osvr │ ├── Client │ ├── ZUpTransform.json │ └── YEITransform.json │ ├── GenerateXMacroScript.cmake │ └── Util │ └── ClientCallbackTypesCSnippet.h.in ├── plugins ├── videobasedtracker │ ├── Oculus_DK2.cpp │ ├── doc │ │ ├── camera_USB.png │ │ ├── camera_plugs.png │ │ ├── video_debug.png │ │ ├── sync_power_adapter.png │ │ ├── video_debug_threshold.png │ │ ├── video_debug_unknown_sensors.png │ │ └── Developing.md │ ├── HDK_random_images │ │ ├── 0001.tif │ │ ├── 0002.tif │ │ ├── 0003.tif │ │ ├── 0004.tif │ │ ├── 0005.tif │ │ ├── 0006.tif │ │ ├── 0007.tif │ │ └── 0008.tif │ └── simulated_images │ │ ├── simulate_HDK_video.blend │ │ └── animation_from_fake │ │ ├── 0001.tif │ │ ├── 0002.tif │ │ ├── 0003.tif │ │ ├── 0004.tif │ │ ├── 0005.tif │ │ ├── 0006.tif │ │ ├── 0007.tif │ │ ├── 0008.tif │ │ ├── 0009.tif │ │ ├── 0010.tif │ │ ├── 0011.tif │ │ ├── 0012.tif │ │ ├── 0013.tif │ │ ├── 0014.tif │ │ ├── 0015.tif │ │ ├── 0016.tif │ │ ├── 0017.tif │ │ ├── 0018.tif │ │ ├── 0019.tif │ │ ├── 0020.tif │ │ ├── 0021.tif │ │ ├── 0022.tif │ │ ├── 0023.tif │ │ ├── 0024.tif │ │ ├── 0025.tif │ │ ├── 0026.tif │ │ ├── 0027.tif │ │ ├── 0028.tif │ │ ├── 0029.tif │ │ ├── 0030.tif │ │ ├── 0031.tif │ │ └── 0032.tif ├── unifiedvideoinertialtracker │ ├── SigmaPointGenerator.h │ ├── ImageSources │ │ └── Oculus_DK2.cpp │ └── camera-latency-testing │ │ ├── IR cam latency tester using arduino.fzz │ │ ├── IR cam latency tester using arduino_bb.png │ │ ├── IR cam latency tester using buspirate.fzz │ │ ├── IR cam latency tester using arduino_schem.png │ │ ├── IR cam latency tester using buspirate_bb.png │ │ └── IR cam latency tester using buspirate_schem.png ├── multiserver │ ├── README.md │ └── com_osvr_Multiserver_OneEuroFilter.json ├── opencv │ └── com_osvr_VideoCapture_OpenCV.json └── oneeurofilter │ └── org_osvr_filter_oneeuro.json ├── .linter-clang-includes.in ├── .clang_complete.in ├── .clang-tidy ├── examples ├── CMakeLists.txt └── plugin-hosts │ └── CMakeLists.txt ├── .editorconfig └── udev-rules.d └── 99-osvr-hdk-camera.rules /vendor/eigen/test/evaluator_common.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | OSVR Core 2 | Copyright 2014-2015 Sensics, Inc. 3 | -------------------------------------------------------------------------------- /apps/osvr_server.rc: -------------------------------------------------------------------------------- 1 | APP_ICON ICON DISCARDABLE "osvr_server.ico" -------------------------------------------------------------------------------- /cmake/launcher-templates/launcher.env.cmd.in: -------------------------------------------------------------------------------- 1 | set @_arg@ 2 | -------------------------------------------------------------------------------- /cmake/launcher-templates/launcher.env.sh.in: -------------------------------------------------------------------------------- 1 | export @_arg@ 2 | -------------------------------------------------------------------------------- /cmake/workarounds/mac-gl/GL/gl.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /cmake/workarounds/mac-gl/GL/glui.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /cmake/workarounds/mac-gl/GL/glut.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /cmake/workarounds/mac-openal/AL/al.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /vendor/eigen/debug/gdb/__init__.py: -------------------------------------------------------------------------------- 1 | # Intentionally empty 2 | -------------------------------------------------------------------------------- /cmake/workarounds/mac-openal/AL/alc.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /vendor/eigen/Eigen/Eigen: -------------------------------------------------------------------------------- 1 | #include "Dense" 2 | #include "Sparse" 3 | -------------------------------------------------------------------------------- /apps/pitch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/apps/pitch.png -------------------------------------------------------------------------------- /apps/roll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/apps/roll.png -------------------------------------------------------------------------------- /apps/yaw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/apps/yaw.png -------------------------------------------------------------------------------- /cmake/workarounds/mac-alut-framework/AL/alut.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /cmake/workarounds/tchar/tchar.h: -------------------------------------------------------------------------------- 1 | #define _tmain main 2 | #define _TCHAR char -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/.krazy: -------------------------------------------------------------------------------- 1 | EXCLUDE copyright 2 | EXCLUDE license 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/.krazy: -------------------------------------------------------------------------------- 1 | EXCLUDE copyright 2 | EXCLUDE license 3 | -------------------------------------------------------------------------------- /devtools/format-file.cmd: -------------------------------------------------------------------------------- 1 | cd /d "%~dp0" 2 | cd .. 3 | clang-format -style=file -i %* -------------------------------------------------------------------------------- /doc/world-axes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/doc/world-axes.png -------------------------------------------------------------------------------- /doc/world-axes.skp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/doc/world-axes.skp -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_minus.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | cout << v-5 << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_plus.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | cout << v+5 << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/scripts/debug.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cmake -DCMAKE_BUILD_TYPE=Debug . 4 | -------------------------------------------------------------------------------- /apps/osvr_server.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/apps/osvr_server.ico -------------------------------------------------------------------------------- /doc/paths-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/doc/paths-example.png -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/libs/STL/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | btl_add_bench(btl_STL main.cpp OFF) 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_abs.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,-2,-3); 2 | cout << v.abs() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_cube.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(2,3,4); 2 | cout << v.cube() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_exp.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | cout << v.exp() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_log.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | cout << v.log() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_sign.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(-3,5,0); 2 | cout << v.sign() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_sqrt.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,4); 2 | cout << v.sqrt() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_random.cpp: -------------------------------------------------------------------------------- 1 | cout << 100 * Matrix2i::Random() << endl; 2 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_random_int.cpp: -------------------------------------------------------------------------------- 1 | cout << VectorXi::Random(2) << endl; 2 | -------------------------------------------------------------------------------- /vendor/eigen/scripts/release.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cmake -DCMAKE_BUILD_TYPE=Release . 4 | -------------------------------------------------------------------------------- /vendor/eigen/unsupported/test/FFT.cpp: -------------------------------------------------------------------------------- 1 | #define test_FFTW test_FFT 2 | #include "FFTW.cpp" 3 | -------------------------------------------------------------------------------- /.linter-clang-flags.in: -------------------------------------------------------------------------------- 1 | -std=c++11 2 | -Wall 3 | -Wextra 4 | @OSVR_LINTER_CLANG_FLAGS_EXTRA@ 5 | -------------------------------------------------------------------------------- /doc/aliases-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/doc/aliases-example.png -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_abs2.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,-2,-3); 2 | cout << v.abs2() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_inverse.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(2,3,4); 2 | cout << v.inverse() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_log10.cpp: -------------------------------------------------------------------------------- 1 | Array4d v(-1,0,1,2); 2 | cout << log10(v) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_square.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(2,3,4); 2 | cout << v.square() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_ones_int_int.cpp: -------------------------------------------------------------------------------- 1 | cout << MatrixXi::Ones(2,3) << endl; 2 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_random_int_int.cpp: -------------------------------------------------------------------------------- 1 | cout << MatrixXi::Random(2,3) << endl; 2 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_zero_int_int.cpp: -------------------------------------------------------------------------------- 1 | cout << MatrixXi::Zero(2,3) << endl; 2 | -------------------------------------------------------------------------------- /assets/doxygen/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/doxygen/sync_on.png -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_acos.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(0, sqrt(2.)/2, 1); 2 | cout << v.acos() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_asin.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(0, sqrt(2.)/2, 1); 2 | cout << v.asin() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_greater.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3), w(3,2,1); 2 | cout << (v>w) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_less.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3), w(3,2,1); 2 | cout << (v::Identity() << endl; 2 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_identity_int_int.cpp: -------------------------------------------------------------------------------- 1 | cout << MatrixXd::Identity(4, 3) << endl; 2 | -------------------------------------------------------------------------------- /assets/doxygen/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/doxygen/ftv2mnode.png -------------------------------------------------------------------------------- /assets/doxygen/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/doxygen/ftv2pnode.png -------------------------------------------------------------------------------- /assets/doxygen/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/doxygen/sync_off.png -------------------------------------------------------------------------------- /assets/osvr-logo-for-docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/osvr-logo-for-docs.png -------------------------------------------------------------------------------- /doc/plugin-buildproducts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/doc/plugin-buildproducts.png -------------------------------------------------------------------------------- /vendor/eigen/doc/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/doc/ftv2node.png -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_cos.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(M_PI, M_PI/2, M_PI/3); 2 | cout << v.cos() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_equal_equal.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3), w(3,2,1); 2 | cout << (v==w) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_less_equal.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3), w(3,2,1); 2 | cout << (v<=w) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_minus_equal.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | v -= 5; 3 | cout << v << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_not_equal.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3), w(3,2,1); 2 | cout << (v!=w) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_sin.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(M_PI, M_PI/2, M_PI/3); 2 | cout << v.sin() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_tan.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(M_PI, M_PI/2, M_PI/3); 2 | cout << v.tan() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseSqrt.cpp: -------------------------------------------------------------------------------- 1 | Vector3d v(1,2,4); 2 | cout << v.cwiseSqrt() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_setOnes_int.cpp: -------------------------------------------------------------------------------- 1 | VectorXf v; 2 | v.setOnes(3); 3 | cout << v << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_setZero_int.cpp: -------------------------------------------------------------------------------- 1 | VectorXf v; 2 | v.setZero(3); 3 | cout << v << endl; 4 | -------------------------------------------------------------------------------- /Brewfile: -------------------------------------------------------------------------------- 1 | brew 'libusb' 2 | brew 'jsoncpp' 3 | tap 'OSVR/osvr' 4 | brew 'libfunctionality', args: ['HEAD'] 5 | -------------------------------------------------------------------------------- /assets/osvr_server_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/osvr_server_icon_16.png -------------------------------------------------------------------------------- /assets/osvr_server_icon_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/osvr_server_icon_24.png -------------------------------------------------------------------------------- /assets/osvr_server_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/osvr_server_icon_256.png -------------------------------------------------------------------------------- /assets/osvr_server_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/osvr_server_icon_32.png -------------------------------------------------------------------------------- /assets/osvr_server_icon_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/osvr_server_icon_48.png -------------------------------------------------------------------------------- /doc/plugin-cmake-1-initial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/doc/plugin-cmake-1-initial.png -------------------------------------------------------------------------------- /vendor/eigen/doc/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/doc/ftv2pnode.png -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_atan.cpp: -------------------------------------------------------------------------------- 1 | ArrayXd v = ArrayXd::LinSpaced(5,0,1); 2 | cout << v.atan() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_cosh.cpp: -------------------------------------------------------------------------------- 1 | ArrayXd v = ArrayXd::LinSpaced(5,0,1); 2 | cout << cosh(v) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_greater_equal.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3), w(3,2,1); 2 | cout << (v>=w) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_sinh.cpp: -------------------------------------------------------------------------------- 1 | ArrayXd v = ArrayXd::LinSpaced(5,0,1); 2 | cout << sinh(v) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_tanh.cpp: -------------------------------------------------------------------------------- 1 | ArrayXd v = ArrayXd::LinSpaced(5,0,1); 2 | cout << tanh(v) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_asDiagonal.cpp: -------------------------------------------------------------------------------- 1 | cout << Matrix3i(Vector3i(2,5,6).asDiagonal()) << endl; 2 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_setOnes_int_int.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf m; 2 | m.setOnes(3, 3); 3 | cout << m << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_setRandom_int.cpp: -------------------------------------------------------------------------------- 1 | VectorXf v; 2 | v.setRandom(3); 3 | cout << v << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_setZero_int_int.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf m; 2 | m.setZero(3, 3); 3 | cout << m << endl; 4 | -------------------------------------------------------------------------------- /assets/doxygen/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/assets/doxygen/ftv2mlastnode.png -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_boolean_or.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(-1,2,1), w(-3,2,3); 2 | cout << ((v e(2,-3,1./3.); 2 | cout << "10^[" << e << "] = " << pow(10,e) << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Map_simple.cpp: -------------------------------------------------------------------------------- 1 | int array[9]; 2 | for(int i = 0; i < 9; ++i) array[i] = i; 3 | cout << Map(array) << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseAbs.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd m(2,3); 2 | m << 2, -4, 6, 3 | -5, 1, 0; 4 | cout << m.cwiseAbs() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseAbs2.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd m(2,3); 2 | m << 2, -4, 6, 3 | -5, 1, 0; 4 | cout << m.cwiseAbs2() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseSign.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd m(2,3); 2 | m << 2, -4, 6, 3 | -5, 1, 0; 4 | cout << m.cwiseSign() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_setIdentity.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Zero(); 2 | m.block<3,3>(1,0).setIdentity(); 3 | cout << m << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/TopicAliasing_mult3.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf matA(2,2); 2 | matA << 2, 0, 0, 2; 3 | matA.noalias() = matA * matA; 4 | cout << matA; 5 | -------------------------------------------------------------------------------- /doc/namespace_osvr.dox: -------------------------------------------------------------------------------- 1 | /** @brief The main namespace for all C++ elements of the framework, internal and external. 2 | */ 3 | namespace osvr { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0001.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0001.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0002.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0002.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0003.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0003.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0004.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0004.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0005.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0005.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0006.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0006.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0007.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0007.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/HDK_random_images/0008.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/HDK_random_images/0008.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/doc/sync_power_adapter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/doc/sync_power_adapter.png -------------------------------------------------------------------------------- /vendor/eigen/doc/TutorialSparse_example_details.dox: -------------------------------------------------------------------------------- 1 | /** 2 | \page TutorialSparse_example_details 3 | \include Tutorial_sparse_example_details.cpp 4 | */ 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/make_circulant.cpp.preamble: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | template class Circulant; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseInverse.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd m(2,3); 2 | m << 2, 0.5, 1, 3 | 3, 0.25, 1; 4 | cout << m.cwiseInverse() << endl; 5 | -------------------------------------------------------------------------------- /apps/sample-configs/osvr_server_config.autodetectonly.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "only need to list manual-load plugins", 3 | "plugins": [] 4 | } 5 | -------------------------------------------------------------------------------- /plugins/videobasedtracker/doc/video_debug_threshold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/doc/video_debug_threshold.png -------------------------------------------------------------------------------- /vendor/eigen/.hg_archival.txt: -------------------------------------------------------------------------------- 1 | repo: 8a21fd850624c931e448cbcfb38168cb2717c790 2 | node: 323c052e17310984a40dda9426e0435bed7178fa 3 | branch: 3.3 4 | tag: 3.3.7 5 | -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/generic_bench/timers/STL_timer.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/bench/btl/generic_bench/timers/STL_timer.hh -------------------------------------------------------------------------------- /vendor/eigen/blas/f2c/r_cnjg.c: -------------------------------------------------------------------------------- 1 | #include "datatypes.h" 2 | 3 | void r_cnjg(complex *r, complex *z) { 4 | r->r = z->r; 5 | r->i = -(z->i); 6 | } 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_isInf.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | v(1) *= 0.0/0.0; 3 | v(2) /= 0.0; 4 | cout << v << endl << endl; 5 | cout << isinf(v) << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_isNaN.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | v(1) *= 0.0/0.0; 3 | v(2) /= 0.0; 4 | cout << v << endl << endl; 5 | cout << isnan(v) << endl; 6 | -------------------------------------------------------------------------------- /.linter-clang-includes.in: -------------------------------------------------------------------------------- 1 | "@CMAKE_CURRENT_SOURCE_DIR@/include" 2 | "@CMAKE_CURRENT_BINARY_DIR@/src" 3 | "@Boost_INCLUDE_DIR@" 4 | @OSVR_LINTER_CLANG_INCLUDES_EXTRA@ 5 | -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/SigmaPointGenerator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/SigmaPointGenerator.h -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/generic_bench/utils/size_lin_log.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/bench/btl/generic_bench/utils/size_lin_log.hh -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_isFinite.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | v(1) *= 0.0/0.0; 3 | v(2) /= 0.0; 4 | cout << v << endl << endl; 5 | cout << isfinite(v) << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/TopicAliasing_mult4.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf A(2,2), B(3,2); 2 | B << 2, 0, 0, 3, 1, 1; 3 | A << 2, 0, 0, -2; 4 | A = (B * A).cwiseAbs(); 5 | cout << A; -------------------------------------------------------------------------------- /.clang_complete.in: -------------------------------------------------------------------------------- 1 | -std=c++11 2 | -I@CMAKE_CURRENT_SOURCE_DIR@/inc 3 | -I@CMAKE_CURRENT_BINARY_DIR@/src 4 | -I@Boost_INCLUDE_DIR@ 5 | 6 | @OSVR_CLANG_COMPLETE_EXTRA@ 7 | -------------------------------------------------------------------------------- /plugins/videobasedtracker/doc/video_debug_unknown_sensors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/doc/video_debug_unknown_sensors.png -------------------------------------------------------------------------------- /vendor/eigen/blas/f2c/d_cnjg.c: -------------------------------------------------------------------------------- 1 | #include "datatypes.h" 2 | 3 | void d_cnjg(doublecomplex *r, doublecomplex *z) { 4 | r->r = z->r; 5 | r->i = -(z->i); 6 | } 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_boolean_not.cpp: -------------------------------------------------------------------------------- 1 | Array3d v(1,2,3); 2 | v(1) *= 0.0/0.0; 3 | v(2) /= 0.0; 4 | cout << v << endl << endl; 5 | cout << !isfinite(v) << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/unsupported/doc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE) 2 | 3 | add_subdirectory(examples) 4 | add_subdirectory(snippets) 5 | -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/ImageSources/Oculus_DK2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/ImageSources/Oculus_DK2.cpp -------------------------------------------------------------------------------- /vendor/eigen/Eigen/Dense: -------------------------------------------------------------------------------- 1 | #include "Core" 2 | #include "LU" 3 | #include "Cholesky" 4 | #include "QR" 5 | #include "SVD" 6 | #include "Geometry" 7 | #include "Eigenvalues" 8 | -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/generic_bench/timers/STL_perf_analyzer.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/bench/btl/generic_bench/timers/STL_perf_analyzer.hh -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/DenseBase_LinSpaced.cpp: -------------------------------------------------------------------------------- 1 | cout << VectorXi::LinSpaced(4,7,10).transpose() << endl; 2 | cout << VectorXd::LinSpaced(5,0.0,1.0).transpose() << endl; 3 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cast.cpp: -------------------------------------------------------------------------------- 1 | Matrix2d md = Matrix2d::Identity() * 0.45; 2 | Matrix2f mf = Matrix2f::Identity(); 3 | cout << md + mf.cast() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/TopicAliasing_mult5.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf A(2,2), B(3,2); 2 | B << 2, 0, 0, 3, 1, 1; 3 | A << 2, 0, 0, -2; 4 | A = (B * A).eval().cwiseAbs(); 5 | cout << A; 6 | -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/generic_bench/timers/mixed_perf_analyzer.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/bench/btl/generic_bench/timers/mixed_perf_analyzer.hh -------------------------------------------------------------------------------- /vendor/eigen/doc/TopicVectorization.dox: -------------------------------------------------------------------------------- 1 | namespace Eigen { 2 | 3 | /** \page TopicVectorization Vectorization 4 | 5 | 6 | TODO: write this dox page! 7 | 8 | */ 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_resize_NoChange_int.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd m(3,4); 2 | m.resize(NoChange, 5); 3 | cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_resize_int_NoChange.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd m(3,4); 2 | m.resize(5, NoChange); 3 | cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl; 4 | -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/simulate_HDK_video.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/simulate_HDK_video.blend -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/generic_bench/static/intel_bench_fixed_size.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/bench/btl/generic_bench/static/intel_bench_fixed_size.hh -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/generic_bench/static/static_size_generator.hh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/vendor/eigen/bench/btl/generic_bench/static/static_size_generator.hh -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_select.cpp: -------------------------------------------------------------------------------- 1 | MatrixXi m(3, 3); 2 | m << 1, 2, 3, 3 | 4, 5, 6, 4 | 7, 8, 9; 5 | m = (m.array() >= 5).select(-m, m); 6 | cout << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_commainit_01b.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f m; 2 | m.row(0) << 1, 2, 3; 3 | m.block(1,0,2,2) << 4, 5, 7, 8; 4 | m.col(2).tail(2) << 6, 9; 5 | std::cout << m; 6 | -------------------------------------------------------------------------------- /apps/sample-configs/osvr_server_config.HDKv1.1.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "This is for the HDK v1.1 - roughly around GDC 2015", 3 | "server": { 4 | "sleep": 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0001.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0001.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0002.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0002.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0003.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0003.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0004.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0004.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0005.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0005.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0006.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0006.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0007.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0007.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0008.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0008.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0009.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0009.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0010.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0010.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0011.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0011.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0012.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0012.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0013.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0013.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0014.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0014.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0015.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0015.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0016.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0016.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0017.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0017.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0018.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0018.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0019.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0019.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0020.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0020.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0021.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0021.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0022.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0022.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0023.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0023.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0024.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0024.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0025.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0025.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0026.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0026.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0027.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0027.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0028.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0028.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0029.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0029.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0030.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0030.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0031.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0031.tif -------------------------------------------------------------------------------- /plugins/videobasedtracker/simulated_images/animation_from_fake/0032.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/videobasedtracker/simulated_images/animation_from_fake/0032.tif -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_noalias.cpp: -------------------------------------------------------------------------------- 1 | Matrix2d a, b, c; a << 1,2,3,4; b << 5,6,7,8; 2 | c.noalias() = a * b; // this computes the product directly to c 3 | cout << c << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/libs/gmm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | find_package(GMM) 3 | if (GMM_FOUND) 4 | include_directories(${GMM_INCLUDES}) 5 | btl_add_bench(btl_gmm main.cpp) 6 | endif (GMM_FOUND) 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Map_outer_stride.cpp: -------------------------------------------------------------------------------- 1 | int array[12]; 2 | for(int i = 0; i < 12; ++i) array[i] = i; 3 | cout << Map >(array, 3, 3, OuterStride<>(4)) << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_operatorNorm.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | cout << "The operator norm of the 3x3 matrix of ones is " 3 | << ones.operatorNorm() << endl; 4 | -------------------------------------------------------------------------------- /.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | Checks: '*,-clang-analyzer-alpha*,-llvm-include-order,-google-*,-llvm-header-guard,-misc-use-override,-readability-named-parameter' 3 | HeaderFilterRegex: '.*' 4 | ... 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_product.cpp: -------------------------------------------------------------------------------- 1 | Array33i a = Array33i::Random(), b = Array33i::Random(); 2 | Array33i c = a * b; 3 | cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl; 4 | 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/DenseBase_LinSpaced_seq.cpp: -------------------------------------------------------------------------------- 1 | cout << VectorXi::LinSpaced(Sequential,4,7,10).transpose() << endl; 2 | cout << VectorXd::LinSpaced(Sequential,5,0.0,1.0).transpose() << endl; 3 | -------------------------------------------------------------------------------- /src/osvr/GenerateXMacroScript.cmake: -------------------------------------------------------------------------------- 1 | include("${CMAKE_CURRENT_LIST_DIR}/GenerateXMacroFunction.cmake") 2 | __osvr_generate_xmacro_contents_now("${INFILE}" "${OUTFILE}" ${OSVR_XMACRO_INVOKE} ${ELEMENTS}) 3 | -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/libs/mtl4/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | find_package(MTL4) 3 | if (MTL4_FOUND) 4 | include_directories(${MTL4_INCLUDE_DIR}) 5 | btl_add_bench(btl_mtl4 main.cpp) 6 | endif (MTL4_FOUND) 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_inverse.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Its inverse is:" << endl << m.inverse() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/test/bug1213.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | template 5 | bool bug1213_2(const Eigen::Matrix& x); 6 | 7 | bool bug1213_1(const Eigen::Vector3f& x); 8 | 9 | -------------------------------------------------------------------------------- /vendor/eigen/README.md: -------------------------------------------------------------------------------- 1 | **Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.** 2 | 3 | For more information go to http://eigen.tuxfamily.org/. 4 | -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/libs/tvmet/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | find_package(Tvmet) 3 | if (TVMET_FOUND) 4 | include_directories(${TVMET_INCLUDE_DIR}) 5 | btl_add_bench(btl_tvmet main.cpp OFF) 6 | endif (TVMET_FOUND) 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/make_circulant.cpp.entry: -------------------------------------------------------------------------------- 1 | template 2 | Circulant makeCirculant(const Eigen::MatrixBase& arg) 3 | { 4 | return Circulant(arg.derived()); 5 | } 6 | -------------------------------------------------------------------------------- /devtools/add_sdk_to_registry.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem Just a wrapper to run the matching PowerShell script. 3 | PowerShell.exe -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Unrestricted -Command "& '%~dpn0.ps1'" 4 | pause -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseProduct.cpp: -------------------------------------------------------------------------------- 1 | Matrix3i a = Matrix3i::Random(), b = Matrix3i::Random(); 2 | Matrix3i c = a.cwiseProduct(b); 3 | cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl; 4 | 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialRedux_sum.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_AdvancedInitialization_Block.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf matA(2, 2); 2 | matA << 1, 2, 3, 4; 3 | MatrixXf matB(4, 4); 4 | matB << matA, matA/10, matA/10, matA; 5 | std::cout << matB << std::endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/failtest_sanity_check.cpp: -------------------------------------------------------------------------------- 1 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 2 | This is just some text that won't compile as a C++ file, as a basic sanity check for failtest. 3 | #else 4 | int main() {} 5 | #endif 6 | -------------------------------------------------------------------------------- /cmake/launcher-templates/vcxproj.user.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | @USERFILE_CONFIGSECTIONS@ 4 | 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/TopicResizing.dox: -------------------------------------------------------------------------------- 1 | namespace Eigen { 2 | 3 | /** \page TopicResizing Resizing 4 | 5 | 6 | TODO: write this dox page! 7 | 8 | Is linked from the tutorial on the Matrix class. 9 | 10 | */ 11 | } 12 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/make_circulant.cpp.main: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | Eigen::VectorXd vec(4); 4 | vec << 1, 2, 4, 8; 5 | Eigen::MatrixXd mat; 6 | mat = makeCirculant(vec); 7 | std::cout << mat << std::endl; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_eigenvalues.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | VectorXcd eivals = ones.eigenvalues(); 3 | cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_prod.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the product of all the coefficients:" << endl << m.prod() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialRedux_norm.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the norm of each column:" << endl << m.colwise().norm() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialRedux_prod.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the product of each row:" << endl << m.rowwise().prod() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/SelfAdjointView_operatorNorm.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | cout << "The operator norm of the 3x3 matrix of ones is " 3 | << ones.selfadjointView().operatorNorm() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/CTestCustom.cmake.in: -------------------------------------------------------------------------------- 1 | 2 | set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "2000") 3 | set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "2000") 4 | list(APPEND CTEST_CUSTOM_ERROR_EXCEPTION @EIGEN_CTEST_ERROR_EXCEPTION@) 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Map_general_stride.cpp: -------------------------------------------------------------------------------- 1 | int array[24]; 2 | for(int i = 0; i < 24; ++i) array[i] = i; 3 | cout << Map > 4 | (array, 3, 3, Stride(8, 2)) 5 | << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_adjoint.cpp: -------------------------------------------------------------------------------- 1 | Matrix2cf m = Matrix2cf::Random(); 2 | cout << "Here is the 2x2 complex matrix m:" << endl << m << endl; 3 | cout << "Here is the adjoint of m:" << endl << m.adjoint() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_Map_stride.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i A; 2 | A << 1, 2, 3, 4, 3 | 5, 6, 7, 8, 4 | 9, 10, 11, 12, 5 | 13, 14, 15, 16; 6 | 7 | std::cout << Matrix2i::Map(&A(1,1),Stride<8,2>()) << std::endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_solve_matrix_inverse.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f A; 2 | Vector3f b; 3 | A << 1,2,3, 4,5,6, 7,8,10; 4 | b << 3, 3, 4; 5 | Vector3f x = A.inverse() * b; 6 | cout << "The solution is:" << endl << x << endl; 7 | -------------------------------------------------------------------------------- /apps/sample-configs/osvr_server_config.OpenCVCamera.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "OpenCV Camera is a manual-load plugin, so we must explicitly list it.", 3 | "plugins": [ 4 | "com_osvr_VideoCapture_OpenCV" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /cmake/launcher-templates/targetlauncher.cmd.in: -------------------------------------------------------------------------------- 1 | cd @USERFILE_WORKING_DIRECTORY@ 2 | @USERFILE_ENV_COMMANDS@ 3 | if [%1]==[--debugger] ( 4 | SHIFT 5 | ) 6 | 7 | "@USERFILE_COMMAND@" @LAUNCHERSCRIPT_COMMAND_ARGUMENTS@ 8 | pause 9 | -------------------------------------------------------------------------------- /vendor/eigen/blas/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory contains a BLAS library built on top of Eigen. 3 | 4 | This module is not built by default. In order to compile it, you need to 5 | type 'make blas' from within your build dir. 6 | 7 | -------------------------------------------------------------------------------- /vendor/eigen/cmake/UseEigen3.cmake: -------------------------------------------------------------------------------- 1 | # -*- cmake -*- 2 | # 3 | # UseEigen3.cmake 4 | 5 | add_definitions ( ${EIGEN3_DEFINITIONS} ) 6 | include_directories ( ${EIGEN3_INCLUDE_DIRS} ) 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/LeastSquaresQR.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf A = MatrixXf::Random(3, 2); 2 | VectorXf b = VectorXf::Random(3); 3 | cout << "The solution using the QR decomposition is:\n" 4 | << A.colPivHouseholderQr().solve(b) << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_replicate.cpp: -------------------------------------------------------------------------------- 1 | MatrixXi m = MatrixXi::Random(2,3); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "m.replicate<3,2>() = ..." << endl; 4 | cout << m.replicate<3,2>() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_replicate_int_int.cpp: -------------------------------------------------------------------------------- 1 | Vector3i v = Vector3i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "v.replicate(2,5) = ..." << endl; 4 | cout << v.replicate(2,5) << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/TopicScalarTypes.dox: -------------------------------------------------------------------------------- 1 | namespace Eigen { 2 | 3 | /** \page TopicScalarTypes Scalar types 4 | 5 | 6 | TODO: write this dox page! 7 | 8 | Is linked from the tutorial on the Matrix class. 9 | 10 | */ 11 | 12 | } 13 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialRedux_maxCoeff.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialRedux_minCoeff.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the minimum of each column:" << endl << m.colwise().minCoeff() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_ReshapeMat2Mat.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf M1(2,6); // Column-major storage 2 | M1 << 1, 2, 3, 4, 5, 6, 3 | 7, 8, 9, 10, 11, 12; 4 | 5 | Map M2(M1.data(), 6,2); 6 | cout << "M2:" << endl << M2 << endl; -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_SlicingVec.cpp: -------------------------------------------------------------------------------- 1 | RowVectorXf v = RowVectorXf::LinSpaced(20,0,19); 2 | cout << "Input:" << endl << v << endl; 3 | Map > v2(v.data(), v.size()/2); 4 | cout << "Even:" << v2 << endl; -------------------------------------------------------------------------------- /devtools/cianalyze.cmd: -------------------------------------------------------------------------------- 1 | cd /d "%~dp0" 2 | cd .. 3 | mkdir build 4 | cd build 5 | cmake .. -G "Visual Studio 12" "-DCMAKE_INSTALL_PREFIX=%WORKSPACE%\install" 6 | cd .. 7 | cmake --build build --config RelWithDebInfo -- /p:RunCodeAnalysis=True 8 | -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using arduino.fzz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using arduino.fzz -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(cplusplus) 2 | 3 | if(BUILD_SERVER_EXAMPLES) 4 | add_subdirectory(plugins) 5 | endif() 6 | 7 | if(BUILD_HEADER_DEPENDENCY_TESTS) 8 | add_subdirectory(header_dependencies) 9 | endif() 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/EigenSolver_eigenvalues.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | EigenSolver es(ones, false); 3 | cout << "The eigenvalues of the 3x3 matrix of ones are:" 4 | << endl << es.eigenvalues() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Map_placement_new.cpp: -------------------------------------------------------------------------------- 1 | int data[] = {1,2,3,4,5,6,7,8,9}; 2 | Map v(data,4); 3 | cout << "The mapped vector v is: " << v << "\n"; 4 | new (&v) Map(data+4,5); 5 | cout << "Now v is: " << v << "\n"; -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialRedux_squaredNorm.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the square norm of each row:" << endl << m.rowwise().squaredNorm() << endl; 4 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_solve_triangular_inplace.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f A; 2 | Vector3f b; 3 | A << 1,2,3, 0,5,6, 0,0,10; 4 | b << 3, 3, 4; 5 | A.triangularView().solveInPlace(b); 6 | cout << "The solution is:" << endl << b << endl; 7 | -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using arduino_bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using arduino_bb.png -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using buspirate.fzz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using buspirate.fzz -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/DirectionWise_replicate_int.cpp: -------------------------------------------------------------------------------- 1 | Vector3i v = Vector3i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "v.rowwise().replicate(5) = ..." << endl; 4 | cout << v.rowwise().replicate(5) << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/EigenSolver_eigenvectors.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | EigenSolver es(ones); 3 | cout << "The first eigenvector of the 3x3 matrix of ones is:" 4 | << endl << es.eigenvectors().col(0) << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_diagonal.cpp: -------------------------------------------------------------------------------- 1 | Matrix3i m = Matrix3i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here are the coefficients on the main diagonal of m:" << endl 4 | << m.diagonal() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/SelfAdjointView_eigenvalues.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | VectorXd eivals = ones.selfadjointView().eigenvalues(); 3 | cout << "The eigenvalues of the 3x3 matrix of ones are:" << endl << eivals << endl; 4 | -------------------------------------------------------------------------------- /apps/sample-configs/osvr_server_config.locomotion.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": [ 3 | "com_osvr_example_Locomotion" 4 | ], 5 | "aliases": { 6 | "/me/feet": "/com_osvr_example_Locomotion/Locomotion/locomotion/0" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using arduino_schem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using arduino_schem.png -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using buspirate_bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using buspirate_bb.png -------------------------------------------------------------------------------- /vendor/eigen/.hgeol: -------------------------------------------------------------------------------- 1 | [patterns] 2 | *.sh = LF 3 | *.MINPACK = CRLF 4 | scripts/*.in = LF 5 | debug/msvc/*.dat = CRLF 6 | debug/msvc/*.natvis = CRLF 7 | unsupported/test/mpreal/*.* = CRLF 8 | ** = native 9 | 10 | [repository] 11 | native = LF 12 | -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/libs/ublas/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | find_package(Boost) 3 | if (Boost_FOUND) 4 | include_directories(${Boost_INCLUDE_DIRS}) 5 | include_directories(${Boost_INCLUDES}) 6 | btl_add_bench(btl_ublas main.cpp) 7 | endif (Boost_FOUND) 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/DirectionWise_replicate.cpp: -------------------------------------------------------------------------------- 1 | MatrixXi m = MatrixXi::Random(2,3); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "m.colwise().replicate<3>() = ..." << endl; 4 | cout << m.colwise().replicate<3>() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/tut_arithmetic_transpose_inplace.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf a(2,3); a << 1, 2, 3, 4, 5, 6; 2 | cout << "Here is the initial matrix a:\n" << a << endl; 3 | 4 | 5 | a.transposeInPlace(); 6 | cout << "and after being transposed:\n" << a << endl; -------------------------------------------------------------------------------- /plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using buspirate_schem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSVR/OSVR-Core/HEAD/plugins/unifiedvideoinertialtracker/camera-latency-testing/IR cam latency tester using buspirate_schem.png -------------------------------------------------------------------------------- /vendor/eigen/bench/btl/libs/mtl4/.kdbgrc.main: -------------------------------------------------------------------------------- 1 | [General] 2 | DebuggerCmdStr= 3 | DriverName=GDB 4 | FileVersion=1 5 | OptionsSelected= 6 | ProgramArgs= 7 | TTYLevel=7 8 | WorkingDirectory= 9 | 10 | [Memory] 11 | ColumnWidths=80,0 12 | NumExprs=0 13 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/SelfAdjointEigenSolver_eigenvalues.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | SelfAdjointEigenSolver es(ones); 3 | cout << "The eigenvalues of the 3x3 matrix of ones are:" 4 | << endl << es.eigenvalues() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_AdvancedInitialization_CommaTemporary.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf mat = MatrixXf::Random(2, 3); 2 | std::cout << mat << std::endl << std::endl; 3 | mat = (MatrixXf(2,2) << 0, 1, 1, 0).finished() * mat; 4 | std::cout << mat << std::endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/unsupported/Eigen/src/EulerAngles/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | FILE(GLOB Eigen_EulerAngles_SRCS "*.h") 2 | 3 | INSTALL(FILES 4 | ${Eigen_EulerAngles_SRCS} 5 | DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/src/EulerAngles COMPONENT Devel 6 | ) 7 | -------------------------------------------------------------------------------- /devtools/install-eigen-visualizers.cmd: -------------------------------------------------------------------------------- 1 | copy "%~dp0..\vendor\eigen\debug\msvc\*.natvis" "%USERPROFILE%\My Documents\Visual Studio 2015\Visualizers" 2 | copy "%~dp0..\vendor\eigen\debug\msvc\*.natvis" "%USERPROFILE%\My Documents\Visual Studio 2013\Visualizers" 3 | pause -------------------------------------------------------------------------------- /examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(BUILD_SERVER_EXAMPLES) 2 | add_subdirectory(plugin) 3 | add_subdirectory(plugin-hosts) 4 | add_subdirectory(internals) 5 | endif() 6 | 7 | if(BUILD_CLIENT_EXAMPLES) 8 | add_subdirectory(clients) 9 | endif() 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/LeastSquaresNormalEquations.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf A = MatrixXf::Random(3, 2); 2 | VectorXf b = VectorXf::Random(3); 3 | cout << "The solution using normal equations is:\n" 4 | << (A.transpose() * A).ldlt().solve(A.transpose() * b) << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Map_inner_stride.cpp: -------------------------------------------------------------------------------- 1 | int array[12]; 2 | for(int i = 0; i < 12; ++i) array[i] = i; 3 | cout << Map > 4 | (array, 6) // the inner stride has already been passed as template parameter 5 | << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/tut_arithmetic_transpose_aliasing.cpp: -------------------------------------------------------------------------------- 1 | Matrix2i a; a << 1, 2, 3, 4; 2 | cout << "Here is the matrix a:\n" << a << endl; 3 | 4 | a = a.transpose(); // !!! do NOT do this !!! 5 | cout << "and the result of the aliasing effect:\n" << a << endl; -------------------------------------------------------------------------------- /vendor/eigen/signature_of_eigen3_matrix_library: -------------------------------------------------------------------------------- 1 | This file is just there as a signature to help identify directories containing Eigen3. When writing a script looking for Eigen3, just look for this file. This is especially useful to help disambiguate with Eigen2... 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 4 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /vendor/eigen/bench/perf_monitoring/gemm/lazy_gemm_settings.txt: -------------------------------------------------------------------------------- 1 | 1 1 1 0 2 | 2 2 2 0 3 | 3 3 3 0 4 | 4 4 4 0 5 | 4 4 4 1 6 | 5 5 5 0 7 | 6 6 6 0 8 | 7 7 7 0 9 | 7 7 7 1 10 | 8 8 8 0 11 | 9 9 9 0 12 | 10 10 10 0 13 | 11 11 11 0 14 | 12 12 12 0 15 | 12 12 12 1 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/ComplexEigenSolver_eigenvectors.cpp: -------------------------------------------------------------------------------- 1 | MatrixXcf ones = MatrixXcf::Ones(3,3); 2 | ComplexEigenSolver ces(ones); 3 | cout << "The first eigenvector of the 3x3 matrix of ones is:" 4 | << endl << ces.eigenvectors().col(1) << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/tut_matrix_assignment_resizing.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf a(2,2); 2 | std::cout << "a is of size " << a.rows() << "x" << a.cols() << std::endl; 3 | MatrixXf b(3,3); 4 | a = b; 5 | std::cout << "a is now of size " << a.rows() << "x" << a.cols() << std::endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/test/bug1213.cpp: -------------------------------------------------------------------------------- 1 | 2 | // This anonymous enum is essential to trigger the linking issue 3 | enum { 4 | Foo 5 | }; 6 | 7 | #include "bug1213.h" 8 | 9 | bool bug1213_1(const Eigen::Vector3f& x) 10 | { 11 | return bug1213_2(x); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Cwise_erf.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | using namespace Eigen; 5 | int main() 6 | { 7 | Array4d v(-0.5,2,0,-7); 8 | std::cout << v.erf() << std::endl; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Cwise_erfc.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | using namespace Eigen; 5 | int main() 6 | { 7 | Array4d v(-0.5,2,0,-7); 8 | std::cout << v.erfc() << std::endl; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/SelfAdjointEigenSolver_eigenvectors.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd ones = MatrixXd::Ones(3,3); 2 | SelfAdjointEigenSolver es(ones); 3 | cout << "The first eigenvector of the 3x3 matrix of ones is:" 4 | << endl << es.eigenvectors().col(1) << endl; 5 | -------------------------------------------------------------------------------- /cmake/update-help.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | src="$(dirname $(readlink -f $0))" 4 | : ${CMAKE:=$(which cmake)} 5 | $CMAKE "-DCMAKE_MODULE_PATH=$src" --help-custom-modules "$src/module-help.html" 6 | $CMAKE "-DCMAKE_MODULE_PATH=$src" --help-custom-modules "$src/module-help.txt" 7 | 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Cwise_lgamma.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | using namespace Eigen; 5 | int main() 6 | { 7 | Array4d v(0.5,10,0,-1); 8 | std::cout << v.lgamma() << std::endl; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/AngleAxis_mimic_euler.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f m; 2 | m = AngleAxisf(0.25*M_PI, Vector3f::UnitX()) 3 | * AngleAxisf(0.5*M_PI, Vector3f::UnitY()) 4 | * AngleAxisf(0.33*M_PI, Vector3f::UnitZ()); 5 | cout << m << endl << "is unitary: " << m.isUnitary() << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_isOnes.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Ones(); 2 | m(0,2) += 1e-4; 3 | cout << "Here's the matrix m:" << endl << m << endl; 4 | cout << "m.isOnes() returns: " << m.isOnes() << endl; 5 | cout << "m.isOnes(1e-3) returns: " << m.isOnes(1e-3) << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_isZero.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Zero(); 2 | m(0,2) = 1e-4; 3 | cout << "Here's the matrix m:" << endl << m << endl; 4 | cout << "m.isZero() returns: " << m.isZero() << endl; 5 | cout << "m.isZero(1e-3) returns: " << m.isZero(1e-3) << endl; 6 | -------------------------------------------------------------------------------- /apps/sample-configs/osvr_server_config.shared.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "server": { 3 | "local": false 4 | }, 5 | "plugins": [], 6 | "drivers": [ 7 | { 8 | "plugin": "com_osvr_Multiserver", 9 | "driver": "YEI_3Space_Sensor" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /cmake/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | *.sh text eol=lf 5 | 6 | # cmake launcher templates 7 | *.sh.in text eol=lf 8 | *.cmd.in text eol=crlf 9 | *vcproj.user.in text eol=crlf 10 | *vcxproj.user.in text eol=crlf 11 | -------------------------------------------------------------------------------- /cmake/BoostTestTargetsStatic.h: -------------------------------------------------------------------------------- 1 | // Small header computed by CMake to set up boost test. 2 | // include AFTER #define BOOST_TEST_MODULE whatever 3 | // but before any other boost test includes. 4 | 5 | // Using the Boost UTF static library 6 | 7 | #include 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/TopicEigenExpressionTemplates.dox: -------------------------------------------------------------------------------- 1 | namespace Eigen { 2 | 3 | /** \page TopicEigenExpressionTemplates Expression templates in Eigen 4 | 5 | 6 | TODO: write this dox page! 7 | 8 | Is linked from the tutorial on arithmetic ops. 9 | 10 | */ 11 | 12 | } 13 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/ComplexSchur_matrixU.cpp: -------------------------------------------------------------------------------- 1 | MatrixXcf A = MatrixXcf::Random(4,4); 2 | cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; 3 | ComplexSchur schurOfA(A); 4 | cout << "The unitary matrix U is:" << endl << schurOfA.matrixU() << endl; 5 | -------------------------------------------------------------------------------- /vendor/FloatExceptions/FloatExceptions.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/ComplexEigenSolver_eigenvalues.cpp: -------------------------------------------------------------------------------- 1 | MatrixXcf ones = MatrixXcf::Ones(3,3); 2 | ComplexEigenSolver ces(ones, /* computeEigenvectors = */ false); 3 | cout << "The eigenvalues of the 3x3 matrix of ones are:" 4 | << endl << ces.eigenvalues() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_applyOnTheLeft.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f A = Matrix3f::Random(3,3), B; 2 | B << 0,1,0, 3 | 0,0,1, 4 | 1,0,0; 5 | cout << "At start, A = " << endl << A << endl; 6 | A.applyOnTheLeft(B); 7 | cout << "After applyOnTheLeft, A = " << endl << A << endl; 8 | -------------------------------------------------------------------------------- /cmake/GetDefineString.cpp.in: -------------------------------------------------------------------------------- 1 | @GET_DEFINE_STRING_INCLUDES@ 2 | 3 | char const * info = "INFO" ":" "define[" @GET_DEFINE_STRING_NAME@ "]"; 4 | 5 | int main(int argc, char * argv[]) { 6 | int require = 0; 7 | require += info[argc]; 8 | (void)argv; 9 | return require; 10 | } -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_end_int.cpp: -------------------------------------------------------------------------------- 1 | RowVector4i v = RowVector4i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "Here is v.tail(2):" << endl << v.tail(2) << endl; 4 | v.tail(2).setZero(); 5 | cout << "Now the vector v is:" << endl << v << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_start_int.cpp: -------------------------------------------------------------------------------- 1 | RowVector4i v = RowVector4i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "Here is v.head(2):" << endl << v.head(2) << endl; 4 | v.head(2).setZero(); 5 | cout << "Now the vector v is:" << endl << v << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_commainit_02.cpp: -------------------------------------------------------------------------------- 1 | int rows=5, cols=5; 2 | MatrixXf m(rows,cols); 3 | m << (Matrix3f() << 1, 2, 3, 4, 5, 6, 7, 8, 9).finished(), 4 | MatrixXf::Zero(3,cols-3), 5 | MatrixXf::Zero(rows-3,3), 6 | MatrixXf::Identity(rows-3,cols-3); 7 | cout << m; 8 | -------------------------------------------------------------------------------- /cmake/BoostTestTargetsIncluded.h: -------------------------------------------------------------------------------- 1 | // Small header computed by CMake to set up boost test. 2 | // include AFTER #define BOOST_TEST_MODULE whatever 3 | // but before any other boost test includes. 4 | 5 | // Using the Boost UTF included framework 6 | 7 | #include 8 | -------------------------------------------------------------------------------- /vendor/eigen/bench/perf_monitoring/gemm/gemm_settings.txt: -------------------------------------------------------------------------------- 1 | 8 8 8 2 | 9 9 9 3 | 24 24 24 4 | 239 239 239 5 | 240 240 240 6 | 2400 24 24 7 | 24 2400 24 8 | 24 24 2400 9 | 24 2400 2400 10 | 2400 24 2400 11 | 2400 2400 24 12 | 2400 2400 64 13 | 4800 23 160 14 | 23 4800 160 15 | 2400 2400 2400 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Cwise_array_power_array.cpp: -------------------------------------------------------------------------------- 1 | Array x(8,25,3), 2 | e(1./3.,0.5,2.); 3 | cout << "[" << x << "]^[" << e << "] = " << x.pow(e) << endl; // using ArrayBase::pow 4 | cout << "[" << x << "]^[" << e << "] = " << pow(x,e) << endl; // using Eigen::pow 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Jacobi_makeGivens.cpp: -------------------------------------------------------------------------------- 1 | Vector2f v = Vector2f::Random(); 2 | JacobiRotation G; 3 | G.makeGivens(v.x(), v.y()); 4 | cout << "Here is the vector v:" << endl << v << endl; 5 | v.applyOnTheLeft(0, 1, G.adjoint()); 6 | cout << "Here is the vector J' * v:" << endl << v << endl; -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_array_const.cpp: -------------------------------------------------------------------------------- 1 | Vector3d v(-1,2,-3); 2 | cout << "the absolute values:" << endl << v.array().abs() << endl; 3 | cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl; 4 | cout << "sum of the squares: " << v.array().square().sum() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_isUnitary.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Identity(); 2 | m(0,2) = 1e-4; 3 | cout << "Here's the matrix m:" << endl << m << endl; 4 | cout << "m.isUnitary() returns: " << m.isUnitary() << endl; 5 | cout << "m.isUnitary(1e-3) returns: " << m.isUnitary(1e-3) << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_isIdentity.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Identity(); 2 | m(0,2) = 1e-4; 3 | cout << "Here's the matrix m:" << endl << m << endl; 4 | cout << "m.isIdentity() returns: " << m.isIdentity() << endl; 5 | cout << "m.isIdentity(1e-3) returns: " << m.isIdentity(1e-3) << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_end.cpp: -------------------------------------------------------------------------------- 1 | RowVector4i v = RowVector4i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "Here is v.tail(2):" << endl << v.tail<2>() << endl; 4 | v.tail<2>().setZero(); 5 | cout << "Now the vector v is:" << endl << v << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Matrix_resize_int.cpp: -------------------------------------------------------------------------------- 1 | VectorXd v(10); 2 | v.resize(3); 3 | RowVector3d w; 4 | w.resize(3); // this is legal, but has no effect 5 | cout << "v: " << v.rows() << " rows, " << v.cols() << " cols" << endl; 6 | cout << "w: " << w.rows() << " rows, " << w.cols() << " cols" << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/swap_2.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | int main() 6 | { 7 | VectorXf a(10), b(10); 8 | VectorXf const &ac(a); 9 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 10 | b.swap(ac); 11 | #else 12 | b.swap(ac.const_cast_derived()); 13 | #endif 14 | } -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_leftCols_int.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.leftCols(2):" << endl; 4 | cout << a.leftCols(2) << endl; 5 | a.leftCols(2).setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_start.cpp: -------------------------------------------------------------------------------- 1 | RowVector4i v = RowVector4i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "Here is v.head(2):" << endl << v.head<2>() << endl; 4 | v.head<2>().setZero(); 5 | cout << "Now the vector v is:" << endl << v << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_topRows_int.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.topRows(2):" << endl; 4 | cout << a.topRows(2) << endl; 5 | a.topRows(2).setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /src/osvr/Util/ClientCallbackTypesCSnippet.h.in: -------------------------------------------------------------------------------- 1 | /** @brief C function type for a @TYPE@ callback */ 2 | typedef void (*OSVR_@TYPE@Callback)(void *userdata, 3 | const struct OSVR_TimeValue *timestamp, 4 | const struct OSVR_@TYPE@Report *report); -------------------------------------------------------------------------------- /udev-rules.d/99-osvr-hdk-camera.rules: -------------------------------------------------------------------------------- 1 | # udev file for OSVR HDK positional tracking camera 2 | # Copyright 2018 Collabora 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | # OSVR HDK Camera (via libusb/libuvc) 6 | SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="57e8", MODE="0660", GROUP="plugdev" 7 | -------------------------------------------------------------------------------- /vendor/dummy-sal/README.md: -------------------------------------------------------------------------------- 1 | # Dummy SAL 2 | 3 | This directory just contains a simple header that defines the directives used by Microsoft's SAL to nothing, so that SAL-using headers (initially added for use of UIforETW's ETWProviders) can be compiled with non-MSVC compilers (without SAL functionality, of course.) -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_block_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.block<2,2>(1,1):" << endl << m.block<2,2>(1,1) << endl; 4 | m.block<2,2>(1,1).setZero(); 5 | cout << "Now the matrix m is:" << endl << m << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_isDiagonal.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = 10000 * Matrix3d::Identity(); 2 | m(0,2) = 1; 3 | cout << "Here's the matrix m:" << endl << m << endl; 4 | cout << "m.isDiagonal() returns: " << m.isDiagonal() << endl; 5 | cout << "m.isDiagonal(1e-3) returns: " << m.isDiagonal(1e-3) << endl; 6 | 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_rightCols_int.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.rightCols(2):" << endl; 4 | cout << a.rightCols(2) << endl; 5 | a.rightCols(2).setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ternary_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | int main(int argc,char **) 6 | { 7 | VectorXf a(10), b(10); 8 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 9 | b = argc>1 ? 2*a : -a; 10 | #else 11 | b = argc>1 ? 2*a : VectorXf(-a); 12 | #endif 13 | } 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_bottomRows_int.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.bottomRows(2):" << endl; 4 | cout << a.bottomRows(2) << endl; 5 | a.bottomRows(2).setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_segment_int_int.cpp: -------------------------------------------------------------------------------- 1 | RowVector4i v = RowVector4i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "Here is v.segment(1, 2):" << endl << v.segment(1, 2) << endl; 4 | v.segment(1, 2).setZero(); 5 | cout << "Now the vector v is:" << endl << v << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ref_2.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | void call_ref(Ref a) { } 6 | 7 | int main() 8 | { 9 | MatrixXf A(10,10); 10 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 11 | call_ref(A.row(3)); 12 | #else 13 | call_ref(A.col(3)); 14 | #endif 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/swap_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | int main() 6 | { 7 | VectorXf a(10), b(10); 8 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 9 | const DenseBase &ac(a); 10 | #else 11 | DenseBase &ac(a); 12 | #endif 13 | b.swap(ac); 14 | } 15 | -------------------------------------------------------------------------------- /devtools/iwyu.imp: -------------------------------------------------------------------------------- 1 | [ 2 | { "symbol" : ["shared_ptr", "private", "", "public"] }, 3 | { "symbol" : ["make_shared", "private", "", "public"] }, 4 | { "symbol" : ["unique_ptr", "private", "", "public"] } 5 | #{"ref": "anglebrackets.imp" } 6 | ] -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/QuickStart_example.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using Eigen::MatrixXd; 5 | 6 | int main() 7 | { 8 | MatrixXd m(2,2); 9 | m(0,0) = 3; 10 | m(1,0) = 2.5; 11 | m(0,1) = -1; 12 | m(1,1) = m(1,0) + m(0,1); 13 | std::cout << m << std::endl; 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_leftCols.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.leftCols<2>():" << endl; 4 | cout << a.leftCols<2>() << endl; 5 | a.leftCols<2>().setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_segment.cpp: -------------------------------------------------------------------------------- 1 | RowVector4i v = RowVector4i::Random(); 2 | cout << "Here is the vector v:" << endl << v << endl; 3 | cout << "Here is v.segment<2>(1):" << endl << v.segment<2>(1) << endl; 4 | v.segment<2>(2).setZero(); 5 | cout << "Now the vector v is:" << endl << v << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_topRows.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.topRows<2>():" << endl; 4 | cout << a.topRows<2>() << endl; 5 | a.topRows<2>().setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/eigen3.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=${prefix} 3 | 4 | Name: Eigen3 5 | Description: A C++ template library for linear algebra: vectors, matrices, and related algorithms 6 | Requires: 7 | Version: @EIGEN_VERSION_NUMBER@ 8 | Libs: 9 | Cflags: -I${prefix}/@INCLUDE_INSTALL_DIR@ 10 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ternary_2.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | int main(int argc,char **) 6 | { 7 | VectorXf a(10), b(10); 8 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 9 | b = argc>1 ? 2*a : a+a; 10 | #else 11 | b = argc>1 ? VectorXf(2*a) : VectorXf(a+a); 12 | #endif 13 | } 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/ComplexSchur_matrixT.cpp: -------------------------------------------------------------------------------- 1 | MatrixXcf A = MatrixXcf::Random(4,4); 2 | cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; 3 | ComplexSchur schurOfA(A, false); // false means do not compute U 4 | cout << "The triangular matrix T is:" << endl << schurOfA.matrixT() << endl; 5 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_block_int_int_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.block(1, 1, 2, 2):" << endl << m.block(1, 1, 2, 2) << endl; 4 | m.block(1, 1, 2, 2).setZero(); 5 | cout << "Now the matrix m is:" << endl << m << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_rightCols.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.rightCols<2>():" << endl; 4 | cout << a.rightCols<2>() << endl; 5 | a.rightCols<2>().setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialRedux_count.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | Matrix res = (m.array() >= 0.5).rowwise().count(); 4 | cout << "Here is the count of elements larger or equal than 0.5 of each row:" << endl; 5 | cout << res << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/TopicAliasing_mult2.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf matA(2,2), matB(2,2); 2 | matA << 2, 0, 0, 2; 3 | 4 | // Simple but not quite as efficient 5 | matB = matA * matA; 6 | cout << matB << endl << endl; 7 | 8 | // More complicated but also more efficient 9 | matB.noalias() = matA * matA; 10 | cout << matB; 11 | -------------------------------------------------------------------------------- /cmake/BoostTestTargetsDynamic.h: -------------------------------------------------------------------------------- 1 | // Small header computed by CMake to set up boost test. 2 | // include AFTER #define BOOST_TEST_MODULE whatever 3 | // but before any other boost test includes. 4 | 5 | // Using the Boost UTF dynamic library 6 | 7 | #define BOOST_TEST_DYN_LINK 8 | #include 9 | 10 | -------------------------------------------------------------------------------- /vendor/eigen/demos/mix_eigen_and_c/README: -------------------------------------------------------------------------------- 1 | This is an example of how one can wrap some of Eigen into a C library. 2 | 3 | To try this with GCC, do: 4 | 5 | g++ -c binary_library.cpp -O2 -msse2 -I ../.. 6 | gcc example.c binary_library.o -o example -lstdc++ 7 | ./example 8 | 9 | TODO: add CMakeLists, add more explanations here -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_bottomRows.cpp: -------------------------------------------------------------------------------- 1 | Array44i a = Array44i::Random(); 2 | cout << "Here is the array a:" << endl << a << endl; 3 | cout << "Here is a.bottomRows<2>():" << endl; 4 | cout << a.bottomRows<2>() << endl; 5 | a.bottomRows<2>().setZero(); 6 | cout << "Now the array a is:" << endl << a << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ref_3.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 6 | void call_ref(Ref a) { } 7 | #else 8 | void call_ref(const Ref &a) { } 9 | #endif 10 | 11 | int main() 12 | { 13 | VectorXf a(10); 14 | call_ref(a+a); 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ref_4.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | void call_ref(Ref > a) {} 6 | 7 | int main() 8 | { 9 | MatrixXf A(10,10); 10 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 11 | call_ref(A.transpose()); 12 | #else 13 | call_ref(A); 14 | #endif 15 | } 16 | -------------------------------------------------------------------------------- /cmake/launcher-templates/genericlauncher.cmd.in: -------------------------------------------------------------------------------- 1 | cd @USERFILE_WORKING_DIRECTORY@ 2 | @USERFILE_ENV_COMMANDS@ 3 | 4 | IF NOT [x%1]==[x--debugger] GOTO SkipDebuggingMess 5 | 6 | ECHO Need to ditch the debugger! 7 | SHIFT /1 8 | %1 %2 %3 %4 %5 %6 %7 %8 %9 9 | GOTO EOF 10 | 11 | :SkipDebuggingMess 12 | %* 13 | 14 | :EOF -------------------------------------------------------------------------------- /cmake/launcher-templates/vcproj.user.in: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | @USERFILE_CONFIGSECTIONS@ 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_diagonal_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl 4 | << m.diagonal(1).transpose() << endl 5 | << m.diagonal(-2).transpose() << endl; 6 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn_Futaba_InterLink_Elite.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/FutabaInterLinkDevice": { 4 | "deviceName": "futaba0", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Futaba_InterLink_Elite.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/sample-configs/osvr_server_config.skeleton.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": [ 3 | "com_osvr_example_Skeleton" 4 | ], 5 | "aliases": { 6 | "/me/hands/left": "/com_osvr_example_Skeleton/Skeleton/skeleton/0", 7 | "/me/hands/right": "/com_osvr_example_Skeleton/Skeleton/skeleton/1" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/tut_matrix_resize_fixed_size.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | Matrix4d m; 9 | m.resize(4,4); // no operation 10 | std::cout << "The matrix m is of size " 11 | << m.rows() << "x" << m.cols() << std::endl; 12 | } 13 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_topLeftCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.topLeftCorner(2, 2):" << endl; 4 | cout << m.topLeftCorner(2, 2) << endl; 5 | m.topLeftCorner(2, 2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/TopicAliasing_block.cpp: -------------------------------------------------------------------------------- 1 | MatrixXi mat(3,3); 2 | mat << 1, 2, 3, 4, 5, 6, 7, 8, 9; 3 | cout << "Here is the matrix mat:\n" << mat << endl; 4 | 5 | // This assignment shows the aliasing problem 6 | mat.bottomRightCorner(2,2) = mat.topLeftCorner(2,2); 7 | cout << "After the assignment, mat = \n" << mat << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/unsupported/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Eigen) 2 | add_subdirectory(doc EXCLUDE_FROM_ALL) 3 | if(BUILD_TESTING) 4 | if(EIGEN_LEAVE_TEST_IN_ALL_TARGET) 5 | add_subdirectory(test) # can't do EXCLUDE_FROM_ALL here, breaks CTest 6 | else() 7 | add_subdirectory(test EXCLUDE_FROM_ALL) 8 | endif() 9 | endif() 10 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn.SideWinder.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/SidewinderDevice": { 4 | "deviceName": "microsoft0", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Sidewinder.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /devtools/gen-iwyu-mappings.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ( 4 | cd $(dirname $0) 5 | cd ../inc 6 | echo "[" 7 | find osvr -name "*.h" | while read header; do 8 | echo "{ \"include\": [\"${header}\", \"private\", \"<${header}>\", \"public\"] }," 9 | done 10 | echo "]" 11 | ) > $(cd $(dirname $0) && pwd)/anglebrackets.imp -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_fixedBlock_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4d m = Vector4d(1,2,3,4).asDiagonal(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.fixed<2, 2>(2, 2):" << endl << m.block<2, 2>(2, 2) << endl; 4 | m.block<2, 2>(2, 0) = m.block<2, 2>(2, 2); 5 | cout << "Now the matrix m is:" << endl << m << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_rowwise.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl; 4 | cout << "Here is the maximum absolute value of each row:" 5 | << endl << m.cwiseAbs().rowwise().maxCoeff() << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_topRightCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.topRightCorner(2, 2):" << endl; 4 | cout << m.topRightCorner(2, 2) << endl; 5 | m.topRightCorner(2, 2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/bdcsvd_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/SVD" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | BDCSVD > qr(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/llt_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Cholesky" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | LLT > llt(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ref_5.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | using namespace Eigen; 4 | 5 | void call_ref(Ref a) { } 6 | 7 | int main() 8 | { 9 | VectorXf a(10); 10 | DenseBase &ac(a); 11 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 12 | call_ref(ac); 13 | #else 14 | call_ref(ac.derived()); 15 | #endif 16 | } 17 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/sparse_ref_2.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Sparse" 2 | 3 | using namespace Eigen; 4 | 5 | void call_ref(Ref > a) { } 6 | 7 | int main() 8 | { 9 | SparseMatrix A(10,10); 10 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 11 | call_ref(A.row(3)); 12 | #else 13 | call_ref(A.col(3)); 14 | #endif 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/sparse_ref_4.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Sparse" 2 | 3 | using namespace Eigen; 4 | 5 | void call_ref(Ref > a) {} 6 | 7 | int main() 8 | { 9 | SparseMatrix A(10,10); 10 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 11 | call_ref(A.transpose()); 12 | #else 13 | call_ref(A); 14 | #endif 15 | } 16 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn.SaitekST290.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/SaitekST290Device": { 4 | "deviceName": "SaitekST290", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Saitek_ST290.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn.SideWinder2.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/Sidewinder2Device": { 4 | "deviceName": "microsoft0", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Sidewinder2.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_colwise.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the sum of each column:" << endl << m.colwise().sum() << endl; 4 | cout << "Here is the maximum absolute value of each column:" 5 | << endl << m.cwiseAbs().colwise().maxCoeff() << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseEqual.cpp: -------------------------------------------------------------------------------- 1 | MatrixXi m(2,2); 2 | m << 1, 0, 3 | 1, 1; 4 | cout << "Comparing m with identity matrix:" << endl; 5 | cout << m.cwiseEqual(MatrixXi::Identity(2,2)) << endl; 6 | Index count = m.cwiseEqual(MatrixXi::Identity(2,2)).count(); 7 | cout << "Number of coefficients that are equal: " << count << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_diagonal_template_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here are the coefficients on the 1st super-diagonal and 2nd sub-diagonal of m:" << endl 4 | << m.diagonal<1>().transpose() << endl 5 | << m.diagonal<-2>().transpose() << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/TopicAliasing_block_correct.cpp: -------------------------------------------------------------------------------- 1 | MatrixXi mat(3,3); 2 | mat << 1, 2, 3, 4, 5, 6, 7, 8, 9; 3 | cout << "Here is the matrix mat:\n" << mat << endl; 4 | 5 | // The eval() solves the aliasing problem 6 | mat.bottomRightCorner(2,2) = mat.topLeftCorner(2,2).eval(); 7 | cout << "After the assignment, mat = \n" << mat << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_solve_singular.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f A; 2 | Vector3f b; 3 | A << 1,2,3, 4,5,6, 7,8,9; 4 | b << 3, 3, 4; 5 | cout << "Here is the matrix A:" << endl << A << endl; 6 | cout << "Here is the vector b:" << endl << b << endl; 7 | Vector3f x; 8 | x = A.lu().solve(b); 9 | cout << "The solution is:" << endl << x << endl; 10 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/fullpivlu_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/LU" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | FullPivLU > lu(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/jacobisvd_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/SVD" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | JacobiSVD > qr(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ldlt_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Cholesky" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | LDLT > ldlt(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/map_nonconst_ctor_on_const_ptr_0.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER float *ptr){ 12 | Map m(ptr); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/qr_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/QR" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | HouseholderQR > qr(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/PhaseSpace_Motion_Capture.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "PhaseSpace", 3 | "deviceName": "Motion Capture", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-12-06T22:17:44Z", 7 | "interfaces": { 8 | "tracker": { } 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn.Afterglow_AX1.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/AfterglowAx1Device": { 4 | "deviceName": "microsoft0", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Afterglow_AX1.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn.Xbox_ControllerS.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/Xbox_SDevice": { 4 | "deviceName": "microsoft0", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Xbox_ControllerS.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_bottomLeftCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.bottomLeftCorner(2, 2):" << endl; 4 | cout << m.bottomLeftCorner(2, 2) << endl; 5 | m.bottomLeftCorner(2, 2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_block_int_int_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the block:" << endl << m.block<2, Dynamic>(1, 1, 2, 3) << endl; 4 | m.block<2, Dynamic>(1, 1, 2, 3).setZero(); 5 | cout << "Now the matrix m is:" << endl << m << endl; 6 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_topLeftCorner.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.topLeftCorner<2,2>():" << endl; 4 | cout << m.topLeftCorner<2,2>() << endl; 5 | m.topLeftCorner<2,2>().setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_solve_triangular.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f A; 2 | Vector3f b; 3 | A << 1,2,3, 0,5,6, 0,0,10; 4 | b << 3, 3, 4; 5 | cout << "Here is the matrix A:" << endl << A << endl; 6 | cout << "Here is the vector b:" << endl << b << endl; 7 | Vector3f x = A.triangularView().solve(b); 8 | cout << "The solution is:" << endl << x << endl; 9 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/partialpivlu_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/LU" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | PartialPivLU > lu(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn.Xbox_Controller360.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/Xbox_360Device": { 4 | "deviceName": "microsoft0", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Xbox_Controller360.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /apps/sample-configs/osvr_server_config.eyeTracker.sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": [ 3 | "com_osvr_EyeTracker" 4 | ], 5 | "aliases": [ 6 | { 7 | "/me/eyes/left": "/com_osvr_EyeTracker/EyeTracker/tracker/0", 8 | "/me/eyes/right": "/com_osvr_EyeTracker/EyeTracker/tracker/1" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /cmake/Findcppcheck.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * \file Findcppcheck.cpp 3 | * \brief Dummy C++ source file used by CMake module Findcppcheck.cmake 4 | * 5 | * \author 6 | * Ryan Pavlik, 2009-2010 7 | * 8 | * http://academic.cleardefinition.com/ 9 | * 10 | */ 11 | 12 | 13 | 14 | int main(int argc, char* argv[]) { 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /devtools/listHeaders.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Makes a list of headers to paste into a CMakeLists.txt file 4 | # Uses the current directory, or the subdir name (like Util) if passed. 5 | ( 6 | if [ $# -eq 1 ]; then 7 | cd $(dirname $0) && cd .. && cd inc/osvr/$1 8 | fi 9 | ls *.h |sort |sed -e 's:^: "${HEADER_LOCATION}/:' -e 's:$:":' 10 | ) 11 | -------------------------------------------------------------------------------- /src/osvr/Client/YEITransform.json: -------------------------------------------------------------------------------- 1 | { 2 | "rotate": { 3 | "degrees": 90, 4 | "axis": "x" 5 | }, 6 | "child": { 7 | "changeBasis": { 8 | "x": "x", 9 | "y": "z", 10 | "z": "-y" 11 | }, 12 | "child": { 13 | "rotate": { 14 | "degrees": -90, 15 | "axis": "z" 16 | } 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Jacobi_makeJacobi.cpp: -------------------------------------------------------------------------------- 1 | Matrix2f m = Matrix2f::Random(); 2 | m = (m + m.adjoint()).eval(); 3 | JacobiRotation J; 4 | J.makeJacobi(m, 0, 1); 5 | cout << "Here is the matrix m:" << endl << m << endl; 6 | m.applyOnTheLeft(0, 1, J.adjoint()); 7 | m.applyOnTheRight(0, 1, J); 8 | cout << "Here is the matrix J' * m * J:" << endl << m << endl; -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_bottomRightCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.bottomRightCorner(2, 2):" << endl; 4 | cout << m.bottomRightCorner(2, 2) << endl; 5 | m.bottomRightCorner(2, 2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_cwiseNotEqual.cpp: -------------------------------------------------------------------------------- 1 | MatrixXi m(2,2); 2 | m << 1, 0, 3 | 1, 1; 4 | cout << "Comparing m with identity matrix:" << endl; 5 | cout << m.cwiseNotEqual(MatrixXi::Identity(2,2)) << endl; 6 | Index count = m.cwiseNotEqual(MatrixXi::Identity(2,2)).count(); 7 | cout << "Number of coefficients that are not equal: " << count << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_topRightCorner.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.topRightCorner<2,2>():" << endl; 4 | cout << m.topRightCorner<2,2>() << endl; 5 | m.topRightCorner<2,2>().setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/colpivqr_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/QR" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | ColPivHouseholderQR > qr(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Diagonal d(m); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/fullpivqr_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/QR" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | FullPivHouseholderQR > qr(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/transpose_nonconst_ctor_on_const_xpr.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Transpose t(m); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /plugins/multiserver/README.md: -------------------------------------------------------------------------------- 1 | # Multiserver Plugin 2 | 3 | This plugin provides support for a number of devices by wrapping a VRPN driver. 4 | 5 | As such, it is very useful at runtime, but it is **not a good example** if you are writing your own plugin from scratch. See the examples folder (under `share/doc/osvr-core/examples` in built snapshots) for better examples. -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Tutorial_ArrayClass_mult.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | ArrayXXf a(2,2); 10 | ArrayXXf b(2,2); 11 | a << 1,2, 12 | 3,4; 13 | b << 5,6, 14 | 7,8; 15 | cout << "a * b = " << endl << a * b << endl; 16 | } 17 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_isOrthogonal.cpp: -------------------------------------------------------------------------------- 1 | Vector3d v(1,0,0); 2 | Vector3d w(1e-4,0,1); 3 | cout << "Here's the vector v:" << endl << v << endl; 4 | cout << "Here's the vector w:" << endl << w << endl; 5 | cout << "v.isOrthogonal(w) returns: " << v.isOrthogonal(w) << endl; 6 | cout << "v.isOrthogonal(w,1e-3) returns: " << v.isOrthogonal(w,1e-3) << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.bottomLeftCorner<2,2>():" << endl; 4 | cout << m.bottomLeftCorner<2,2>() << endl; 5 | m.bottomLeftCorner<2,2>().setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_AdvancedInitialization_LinSpaced.cpp: -------------------------------------------------------------------------------- 1 | ArrayXXf table(10, 4); 2 | table.col(0) = ArrayXf::LinSpaced(10, 0, 90); 3 | table.col(1) = M_PI / 180 * table.col(0); 4 | table.col(2) = table.col(1).sin(); 5 | table.col(3) = table.col(1).cos(); 6 | std::cout << " Degrees Radians Sine Cosine\n"; 7 | std::cout << table << std::endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/block_nonconst_ctor_on_const_xpr_0.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Block b(m,0,0); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/block_nonconst_ctor_on_const_xpr_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Block b(m,0,0,3,3); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/eigensolver_int.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Eigenvalues" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR int 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | EigenSolver > eig(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Polhemus_G4.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Polhemus", 3 | "deviceName": "G4", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-04-20T13:41:44Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/ComplexSchur_compute.cpp: -------------------------------------------------------------------------------- 1 | MatrixXcf A = MatrixXcf::Random(4,4); 2 | ComplexSchur schur(4); 3 | schur.compute(A); 4 | cout << "The matrix T in the decomposition of A is:" << endl << schur.matrixT() << endl; 5 | schur.compute(A.inverse()); 6 | cout << "The matrix T in the decomposition of A^(-1) is:" << endl << schur.matrixT() << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_bottomRightCorner.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.bottomRightCorner<2,2>():" << endl; 4 | cout << m.bottomRightCorner<2,2>() << endl; 5 | m.bottomRightCorner<2,2>().setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_Map_rowmajor.cpp: -------------------------------------------------------------------------------- 1 | int array[8]; 2 | for(int i = 0; i < 8; ++i) array[i] = i; 3 | cout << "Column-major:\n" << Map >(array) << endl; 4 | cout << "Row-major:\n" << Map >(array) << endl; 5 | cout << "Row-major using stride:\n" << 6 | Map, Unaligned, Stride<1,4> >(array) << endl; 7 | 8 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/map_on_const_type_actually_const_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(float *ptr){ 12 | Map(ptr).coeffRef(0) = 1.0f; 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/const_qualified_block_method_retval_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Block b(m.block(0,0,3,3)); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/const_qualified_diagonal_method_retval.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Diagonal b(m.diagonal()); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/const_qualified_transpose_method_retval.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Transpose b(m.transpose()); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/map_nonconst_ctor_on_const_ptr_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER float *ptr, DenseIndex size){ 12 | Map m(ptr, size); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/triangularview_nonconst_ctor_on_const_xpr.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | TriangularView t(m); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/In2Games_Gametrak.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "In2Games", 3 | "deviceName": "Gametrak", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T14:57:57Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Polhemus_LIBERTY.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Polhemus", 3 | "deviceName": "LIBERTY", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:18:14Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /plugins/opencv/com_osvr_VideoCapture_OpenCV.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Generic", 3 | "deviceName": "OpenCV Video Capture", 4 | "author": "Ryan Pavlik ", 5 | "version": 1, 6 | "lastModified": "2015-05-21T18:41:56.009Z", 7 | "interfaces": { 8 | "imaging": {} 9 | }, 10 | "automaticAliases": { 11 | "/camera": "imaging/0" 12 | } 13 | } -------------------------------------------------------------------------------- /plugins/videobasedtracker/doc/Developing.md: -------------------------------------------------------------------------------- 1 | ## Coming Soon 2 | 3 | Sensics is moving the sensor codes and position information into the configuration file so that developers can add their own descriptions without recompiling. 4 | 5 | Also coming soon is a description of how the algorithm works and how to select codes that don't interfere with the existing HDK beacons. 6 | 7 | 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | int main() 6 | { 7 | Eigen::MatrixXf mat(2,4); 8 | mat << 1, 2, 6, 9, 9 | 3, 1, 7, 2; 10 | 11 | std::cout << "Row's maximum: " << std::endl 12 | << mat.rowwise().maxCoeff() << std::endl; 13 | } 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/HouseholderQR_householderQ.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf A(MatrixXf::Random(5,3)), thinQ(MatrixXf::Identity(5,3)), Q; 2 | A.setRandom(); 3 | HouseholderQR qr(A); 4 | Q = qr.householderQ(); 5 | thinQ = qr.householderQ() * thinQ; 6 | std::cout << "The complete unitary matrix Q is:\n" << Q << "\n\n"; 7 | std::cout << "The thin matrix Q is:\n" << thinQ << "\n\n"; 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_AdvancedInitialization_Join.cpp: -------------------------------------------------------------------------------- 1 | RowVectorXd vec1(3); 2 | vec1 << 1, 2, 3; 3 | std::cout << "vec1 = " << vec1 << std::endl; 4 | 5 | RowVectorXd vec2(4); 6 | vec2 << 1, 4, 9, 16; 7 | std::cout << "vec2 = " << vec2 << std::endl; 8 | 9 | RowVectorXd joined(7); 10 | joined << vec1, vec2; 11 | std::cout << "joined = " << joined << std::endl; 12 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/const_qualified_block_method_retval_0.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | Block b(m.block<3,3>(0,0)); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/map_on_const_type_actually_const_0.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(float *ptr){ 12 | Map(ptr, 1, 1).coeffRef(0,0) = 1.0f; 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/ref_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void call_ref(Ref a) { } 12 | 13 | int main() 14 | { 15 | VectorXf a(10); 16 | CV_QUALIFIER VectorXf& ac(a); 17 | call_ref(ac); 18 | } 19 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/selfadjointview_nonconst_ctor_on_const_xpr.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | SelfAdjointView t(m); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/sparse_ref_3.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Sparse" 2 | 3 | using namespace Eigen; 4 | 5 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 6 | void call_ref(Ref > a) { } 7 | #else 8 | void call_ref(const Ref > &a) { } 9 | #endif 10 | 11 | int main() 12 | { 13 | SparseMatrix a(10,10); 14 | call_ref(a+a); 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/scripts/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | get_property(EIGEN_TESTS_LIST GLOBAL PROPERTY EIGEN_TESTS_LIST) 2 | configure_file(buildtests.in ${CMAKE_BINARY_DIR}/buildtests.sh @ONLY) 3 | 4 | configure_file(check.in ${CMAKE_BINARY_DIR}/check.sh COPYONLY) 5 | configure_file(debug.in ${CMAKE_BINARY_DIR}/debug.sh COPYONLY) 6 | configure_file(release.in ${CMAKE_BINARY_DIR}/release.sh COPYONLY) 7 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Atmel_ATmega32.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Atmel Corporation", 3 | "deviceName": "ATmega32", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T17:24:42Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 8 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Polhemus_3Space_Tracker.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Polhemus", 3 | "deviceName": "3Space", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-18T12:48:37Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/X-keys_XK-3.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "P.I. Engineering", 3 | "deviceName": "X-keys XK-3", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:47:32Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 3 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Zaber_T-LA.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Zaber", 3 | "deviceName": "T-LA linear actuator", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:57:16Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/osvr_server_config.externalvrpn.Logitech_Extreme_3D_Pro.json: -------------------------------------------------------------------------------- 1 | { 2 | "externalDevices": { 3 | "/Logitech_Extreme_3D_ProDevice": { 4 | "deviceName": "logitech0", 5 | "server": "localhost:3884", 6 | "descriptor": "external-devices/device-descriptors/Logitech_Extreme_3D_Pro.json" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | int main() 6 | { 7 | Eigen::MatrixXf mat(2,4); 8 | mat << 1, 2, 6, 9, 9 | 3, 1, 7, 2; 10 | 11 | std::cout << "Column's maximum: " << std::endl 12 | << mat.colwise().maxCoeff() << std::endl; 13 | } 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/FullPivLU_kernel.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf m = MatrixXf::Random(3,5); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | MatrixXf ker = m.fullPivLu().kernel(); 4 | cout << "Here is a matrix whose columns form a basis of the kernel of m:" 5 | << endl << ker << endl; 6 | cout << "By definition of the kernel, m*ker is zero:" 7 | << endl << m*ker << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/eigensolver_cplx.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Eigenvalues" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define SCALAR std::complex 5 | #else 6 | #define SCALAR float 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | int main() 12 | { 13 | EigenSolver > eig(Matrix::Random(10,10)); 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/unsupported/Eigen/CXX11/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(Eigen_CXX11_HEADERS Tensor TensorSymmetry ThreadPool) 2 | 3 | install(FILES 4 | ${Eigen_CXX11_HEADERS} 5 | DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/CXX11 COMPONENT Devel 6 | ) 7 | 8 | install(DIRECTORY src DESTINATION ${INCLUDE_INSTALL_DIR}/unsupported/Eigen/CXX11 COMPONENT Devel FILES_MATCHING PATTERN "*.h") 9 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Polhemus_LIBERTY_LATUS.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Polhemus", 3 | "deviceName": "LIBERTY LATUS", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:18:14Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Polhemus_PowerTRAK_360.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Polhemus", 3 | "deviceName": "PowerTRAK 360", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-04-20T13:43:58Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 4 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/VR-Space_WinTrackerIII.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "VR-Space", 3 | "deviceName": "WinTrackerIII", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:21:26Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 3 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /plugins/oneeurofilter/org_osvr_filter_oneeuro.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "OSVR", 3 | "deviceName": "'One Euro' Tracking Filter", 4 | "author": "Ryan Pavlik ", 5 | "version": 1, 6 | "lastModified": "2015-10-12T21:13:07.585Z", 7 | "interfaces": { 8 | "tracker": { 9 | "position": true, 10 | "orientation": true 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /tests/cplusplus/TypePack/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | foreach(testname 2 | Apply 3 | BasicListStructure 4 | BooleanAnd 5 | BooleanOr 6 | Contains 7 | Fold 8 | IfExpressions 9 | Push 10 | SplitList) 11 | add_executable(TypePack-${testname} ${testname}.cpp) 12 | target_link_libraries(TypePack-${testname} osvrTypePack osvr-catch-main) 13 | endforeach() 14 | -------------------------------------------------------------------------------- /vendor/eigen/demos/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(EigenDemos) 2 | 3 | add_custom_target(demos) 4 | 5 | if(NOT EIGEN_TEST_NOQT) 6 | find_package(Qt4) 7 | if(QT4_FOUND) 8 | add_subdirectory(mandelbrot) 9 | add_subdirectory(opengl) 10 | else(QT4_FOUND) 11 | message(STATUS "Qt4 not found, so disabling the mandelbrot and opengl demos") 12 | endif(QT4_FOUND) 13 | endif() 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_applyOnTheRight.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f A = Matrix3f::Random(3,3), B; 2 | B << 0,1,0, 3 | 0,0,1, 4 | 1,0,0; 5 | cout << "At start, A = " << endl << A << endl; 6 | A *= B; 7 | cout << "After A *= B, A = " << endl << A << endl; 8 | A.applyOnTheRight(B); // equivalent to A *= B 9 | cout << "After applyOnTheRight, A = " << endl << A << endl; 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_topLeftCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.topLeftCorner<2,Dynamic>(2,2):" << endl; 4 | cout << m.topLeftCorner<2,Dynamic>(2,2) << endl; 5 | m.topLeftCorner<2,Dynamic>(2,2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/diagonal_on_const_type_actually_const.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(){ 12 | MatrixXf m; 13 | Diagonal(m).coeffRef(0) = 1.0f; 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Polhemus_Isotrak_tracker.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Polhemus", 3 | "deviceName": "Isotrak tracker", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:10:53Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/TRIVISIO_Colibri.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "TRIVISIO Prototyping GmbH", 3 | "deviceName": "Colibri", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T14:36:50Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /plugins/multiserver/com_osvr_Multiserver_OneEuroFilter.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "OSVR/VRPN", 3 | "deviceName": "'One Euro' Tracking Filter", 4 | "author": "Ryan Pavlik ", 5 | "version": 1, 6 | "lastModified": "2015-04-10T17:42:17.563Z", 7 | "interfaces": { 8 | "tracker": { 9 | "position": true, 10 | "orientation": true 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_set.cpp: -------------------------------------------------------------------------------- 1 | Matrix3i m1; 2 | m1 << 1, 2, 3, 3 | 4, 5, 6, 4 | 7, 8, 9; 5 | cout << m1 << endl << endl; 6 | Matrix3i m2 = Matrix3i::Identity(); 7 | m2.block(0,0, 2,2) << 10, 11, 12, 13; 8 | cout << m2 << endl << endl; 9 | Vector2i v1; 10 | v1 << 14, 15; 11 | m2 << v1.transpose(), 16, 12 | v1, m1.block(1,1,2,2); 13 | cout << m2 << endl; 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_topRightCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.topRightCorner<2,Dynamic>(2,2):" << endl; 4 | cout << m.topRightCorner<2,Dynamic>(2,2) << endl; 5 | m.topRightCorner<2,Dynamic>(2,2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tridiagonalization_householderCoefficients.cpp: -------------------------------------------------------------------------------- 1 | Matrix4d X = Matrix4d::Random(4,4); 2 | Matrix4d A = X + X.transpose(); 3 | cout << "Here is a random symmetric 4x4 matrix:" << endl << A << endl; 4 | Tridiagonalization triOfA(A); 5 | Vector3d hc = triOfA.householderCoefficients(); 6 | cout << "The vector of Householder coefficients is:" << endl << hc << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_ReshapeMat2Vec.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf M1(3,3); // Column-major storage 2 | M1 << 1, 2, 3, 3 | 4, 5, 6, 4 | 7, 8, 9; 5 | 6 | Map v1(M1.data(), M1.size()); 7 | cout << "v1:" << endl << v1 << endl; 8 | 9 | Matrix M2(M1); 10 | Map v2(M2.data(), M2.size()); 11 | cout << "v2:" << endl << v2 << endl; -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/tut_arithmetic_transpose_conjugate.cpp: -------------------------------------------------------------------------------- 1 | MatrixXcf a = MatrixXcf::Random(2,2); 2 | cout << "Here is the matrix a\n" << a << endl; 3 | 4 | cout << "Here is the matrix a^T\n" << a.transpose() << endl; 5 | 6 | 7 | cout << "Here is the conjugate of a\n" << a.conjugate() << endl; 8 | 9 | 10 | cout << "Here is the matrix a^*\n" << a.adjoint() << endl; 11 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/block_nonconst_ctor_on_const_xpr_2.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | // row/column constructor 13 | Block b(m,0); 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/transpose_on_const_type_actually_const.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(){ 12 | MatrixXf m; 13 | Transpose(m).coeffRef(0, 0) = 1.0f; 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Crossbow_RGA300CA.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Crossbow Technology, Inc.", 3 | "deviceName": "RGA300CA", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T14:38:48Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Dream_Cheeky_Drum_Kit.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Dream Cheeky", 3 | "deviceName": "Roll-up Drum Kit USB", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T18:15:35Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 8 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/GPS_NMEA.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Generic", 3 | "deviceName": "GPS (serial NMEA protocol) tracker", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:02:07Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Motion_Workshop_MotionNode.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Motion Workshop", 3 | "deviceName": "MotionNode", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:25:48Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/NDI_Polaris_Vicra.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Northern Digital Inc", 3 | "deviceName": "Polaris Vicra", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:26:42Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/X-keys_Desktop_USB.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "P.I. Engineering", 3 | "deviceName": "X-keys Desktop USB", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:32:26Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 21 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/X-keys_Pro_USB.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "P.I. Engineering", 3 | "deviceName": "X-keys Professional USB", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:35:02Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 58 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/osvr_log_to_csv/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(osvr_log_to_csv 2 | osvr_log_to_csv.cpp) 3 | target_link_libraries(osvr_log_to_csv 4 | osvrClientKitCpp 5 | osvr_cxx11_flags) 6 | set_target_properties(osvr_log_to_csv PROPERTIES 7 | FOLDER "OSVR Stock Applications") 8 | #install(TARGETS osvr_log_to_csv 9 | # RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime) 10 | -------------------------------------------------------------------------------- /devtools/listSources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | 3 | # Makes a list of source files to paste into a CMakeLists.txt file 4 | # Uses the current directory, or the subdir name (like Util) if passed. 5 | 6 | ( 7 | if [ $# -eq 1 ]; then 8 | cd $(dirname $0) && cd .. && cd src/osvr/$1 9 | fi 10 | find * \( -name "*.h" -o -name "*.cpp" -o -name "*.h.*" \) -print |sort |sed -e 's:^: :' 11 | ) 12 | -------------------------------------------------------------------------------- /examples/plugin-hosts/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | foreach(HOST BasicPluginLoader BasicPluginLoaderWithDetect ConnectionHost) 3 | add_executable(${HOST} ${HOST}.cpp) 4 | target_link_libraries(${HOST} osvrPluginHost) 5 | set_target_properties(${HOST} PROPERTIES 6 | FOLDER "OSVR Example Plugin Hosts") 7 | endforeach() 8 | 9 | target_link_libraries(ConnectionHost osvrConnection) 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_bottomLeftCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.bottomLeftCorner<2,Dynamic>(2,2):" << endl; 4 | cout << m.bottomLeftCorner<2,Dynamic>(2,2) << endl; 5 | m.bottomLeftCorner<2,Dynamic>(2,2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/block_on_const_type_actually_const_0.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(){ 12 | Matrix3f m; 13 | Block(m, 0, 0, 3, 3).coeffRef(0, 0) = 1.0f; 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/block_on_const_type_actually_const_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(){ 12 | MatrixXf m; 13 | Block(m, 0, 0).coeffRef(0, 0) = 1.0f; 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/map_nonconst_ctor_on_const_ptr_2.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER float *ptr, DenseIndex rows, DenseIndex cols){ 12 | Map m(ptr, rows, cols); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/sparse_ref_5.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Sparse" 2 | 3 | using namespace Eigen; 4 | 5 | void call_ref(Ref > a) { } 6 | 7 | int main() 8 | { 9 | SparseMatrix a(10,10); 10 | SparseMatrixBase > &ac(a); 11 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 12 | call_ref(ac); 13 | #else 14 | call_ref(ac.derived()); 15 | #endif 16 | } 17 | -------------------------------------------------------------------------------- /vendor/eigen/test/bug1213_main.cpp: -------------------------------------------------------------------------------- 1 | 2 | // This is a regression unit regarding a weird linking issue with gcc. 3 | 4 | #include "bug1213.h" 5 | 6 | int main() 7 | { 8 | return 0; 9 | } 10 | 11 | 12 | template 13 | bool bug1213_2(const Eigen::Matrix& ) 14 | { 15 | return true; 16 | } 17 | 18 | template bool bug1213_2(const Eigen::Vector3f&); 19 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/NDI_Polaris_Spectra.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Northern Digital Inc", 3 | "deviceName": "Polaris Spectra", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:26:42Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Origin_Instruments_DynaSight.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Origin Instruments", 3 | "deviceName": "DynaSight", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T18:19:02Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Vinten_Radamec_SPI.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Vinten Radamec", 3 | "deviceName": "Serial Port Interface (SPI)", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-18T18:29:00Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 8 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /cmake/StampSourcesWithVersion.sed.in: -------------------------------------------------------------------------------- 1 | # Line by line summary: 2 | # Until we find the first */ or // { 3 | # In sections between /* and */ (that is, a block comment) { 4 | # substitute @version WHATEVER with @version and the 5 | # cmake-substituted version string. 6 | # } 7 | # } 8 | 9 | 0,/[*/][/]/ { 10 | /\/\*/,/\*\// { 11 | s_([@\\])version(\s*).*$_\1version\2@version@_1g 12 | } 13 | } -------------------------------------------------------------------------------- /cmake/ghost-fake-stl/alloc.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | @brief Fake header to allow GHOST 4.09 use with MSVC 2005 3 | 4 | @date 2012 5 | 6 | @author 7 | Ryan Pavlik 8 | and 9 | http://academic.cleardefinition.com/ 10 | Iowa State University Virtual Reality Applications Center 11 | Human-Computer Interaction Graduate Program 12 | */ 13 | 14 | #pragma once 15 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/DenseBase_middleCols_int.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main(void) 8 | { 9 | int const N = 5; 10 | MatrixXi A(N,N); 11 | A.setRandom(); 12 | cout << "A =\n" << A << '\n' << endl; 13 | cout << "A(1..3,:) =\n" << A.middleCols(1,3) << endl; 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/DenseBase_middleRows_int.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main(void) 8 | { 9 | int const N = 5; 10 | MatrixXi A(N,N); 11 | A.setRandom(); 12 | cout << "A =\n" << A << '\n' << endl; 13 | cout << "A(2..3,:) =\n" << A.middleRows(2,2) << endl; 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/ColPivHouseholderQR_solve.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f m = Matrix3f::Random(); 2 | Matrix3f y = Matrix3f::Random(); 3 | cout << "Here is the matrix m:" << endl << m << endl; 4 | cout << "Here is the matrix y:" << endl << y << endl; 5 | Matrix3f x; 6 | x = m.colPivHouseholderQr().solve(y); 7 | assert(y.isApprox(m*x)); 8 | cout << "Here is a solution x to the equation mx=y:" << endl << x << endl; 9 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/FullPivHouseholderQR_solve.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f m = Matrix3f::Random(); 2 | Matrix3f y = Matrix3f::Random(); 3 | cout << "Here is the matrix m:" << endl << m << endl; 4 | cout << "Here is the matrix y:" << endl << y << endl; 5 | Matrix3f x; 6 | x = m.fullPivHouseholderQr().solve(y); 7 | assert(y.isApprox(m*x)); 8 | cout << "Here is a solution x to the equation mx=y:" << endl << x << endl; 9 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_template_int_int_bottomRightCorner_int_int.cpp: -------------------------------------------------------------------------------- 1 | Matrix4i m = Matrix4i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is m.bottomRightCorner<2,Dynamic>(2,2):" << endl; 4 | cout << m.bottomRightCorner<2,Dynamic>(2,2) << endl; 5 | m.bottomRightCorner<2,Dynamic>(2,2).setZero(); 6 | cout << "Now the matrix m is:" << endl << m << endl; 7 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/5DT_Data_Glove_16.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Fifth Dimension Technologies", 3 | "deviceName": "5DT Data Glove 16", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-18T12:53:21Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 16 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/RealSchur_compute.cpp: -------------------------------------------------------------------------------- 1 | MatrixXf A = MatrixXf::Random(4,4); 2 | RealSchur schur(4); 3 | schur.compute(A, /* computeU = */ false); 4 | cout << "The matrix T in the decomposition of A is:" << endl << schur.matrixT() << endl; 5 | schur.compute(A.inverse(), /* computeU = */ false); 6 | cout << "The matrix T in the decomposition of A^(-1) is:" << endl << schur.matrixT() << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER Matrix3d &m){ 12 | CwiseUnaryView,Matrix3d> t(m); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/selfadjointview_on_const_type_actually_const.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(){ 12 | MatrixXf m; 13 | SelfAdjointView(m).coeffRef(0, 0) = 1.0f; 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/triangularview_on_const_type_actually_const.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(){ 12 | MatrixXf m; 13 | TriangularView(m).coeffRef(0, 0) = 1.0f; 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /tests/cplusplus/Connection/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | get_filename_component(LIB_TO_TEST ${CMAKE_CURRENT_SOURCE_DIR} NAME) 3 | set(TEST_EXE Test${LIB_TO_TEST}) 4 | add_executable(${TEST_EXE} 5 | AsyncAccessControl.cpp) 6 | target_link_libraries(${TEST_EXE} osvr-catch-main) 7 | 8 | target_link_libraries(${TEST_EXE} osvrConnection boost_thread) 9 | add_test(NAME ${LIB_TO_TEST} 10 | COMMAND ${TEST_EXE}) 11 | -------------------------------------------------------------------------------- /vendor/eigen/demos/mandelbrot/README: -------------------------------------------------------------------------------- 1 | *** Mandelbrot demo *** 2 | 3 | Controls: 4 | * Left mouse button to center view at a point. 5 | * Drag vertically with left mouse button to zoom in and out. 6 | 7 | Be sure to enable SSE2 or AltiVec to improve performance. 8 | 9 | The number of iterations, and the choice between single and double precision, are 10 | determined at runtime depending on the zoom level. 11 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/DenseBase_template_int_middleCols.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main(void) 8 | { 9 | int const N = 5; 10 | MatrixXi A(N,N); 11 | A.setRandom(); 12 | cout << "A =\n" << A << '\n' << endl; 13 | cout << "A(:,1..3) =\n" << A.middleCols<3>(1) << endl; 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/DenseBase_template_int_middleRows.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main(void) 8 | { 9 | int const N = 5; 10 | MatrixXi A(N,N); 11 | A.setRandom(); 12 | cout << "A =\n" << A << '\n' << endl; 13 | cout << "A(1..3,:) =\n" << A.middleRows<3>(1) << endl; 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/QuickStart_example2_fixed.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | Matrix3d m = Matrix3d::Random(); 10 | m = (m + Matrix3d::Constant(1.2)) * 50; 11 | cout << "m =" << endl << m << endl; 12 | Vector3d v(1,2,3); 13 | 14 | cout << "m * v =" << endl << m * v << endl; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Tutorial_simple_example_fixed_size.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | 6 | int main() 7 | { 8 | Matrix3f m3; 9 | m3 << 1, 2, 3, 4, 5, 6, 7, 8, 9; 10 | Matrix4f m4 = Matrix4f::Identity(); 11 | Vector4i v4(1, 2, 3, 4); 12 | 13 | std::cout << "m3\n" << m3 << "\nm4:\n" 14 | << m4 << "\nv4:\n" << v4 << std::endl; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/sparse_storage_mismatch.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Sparse" 2 | using namespace Eigen; 3 | 4 | typedef SparseMatrix Mat1; 5 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 6 | typedef SparseMatrix Mat2; 7 | #else 8 | typedef SparseMatrix Mat2; 9 | #endif 10 | 11 | int main() 12 | { 13 | Mat1 a(10,10); 14 | Mat2 b(10,10); 15 | a += b; 16 | } 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/5DT_Data_Glove_5_Ultra.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Fifth Dimension Technologies", 3 | "deviceName": "5DT Data Glove 5 Ultra", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-18T12:53:21Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 5 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Ascension_Flock_of_Birds.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Ascension Technology Corporation", 3 | "deviceName": "Flock of Birds", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T19:15:14Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/InterSense_IS-900_Hand_tracker.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "InterSense", 3 | "deviceName": "IS-900 MicroTrax Hand tracker", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:07:34Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/InterSense_IS-900_Head_tracker.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "InterSense", 3 | "deviceName": "IS-900 MicroTrax Head tracker", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:09:15Z", 7 | "interfaces": { 8 | "tracker": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/National_Instruments_DAQCard_DIO_24.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "National Instruments", 3 | "deviceName": "DAQCard DIO 24", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T17:45:33Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 24 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/US_Digital_A2_Absolute_Rotary_Encoder.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "US Digital", 3 | "deviceName": "A2 Absolute Rotary Encoder", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-18T18:32:29Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 1 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/HessenbergDecomposition_compute.cpp: -------------------------------------------------------------------------------- 1 | MatrixXcf A = MatrixXcf::Random(4,4); 2 | HessenbergDecomposition hd(4); 3 | hd.compute(A); 4 | cout << "The matrix H in the decomposition of A is:" << endl << hd.matrixH() << endl; 5 | hd.compute(2*A); // re-use hd to compute and store decomposition of 2A 6 | cout << "The matrix H in the decomposition of 2A is:" << endl << hd.matrixH() << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_solve_multiple_rhs.cpp: -------------------------------------------------------------------------------- 1 | Matrix3f A(3,3); 2 | A << 1,2,3, 4,5,6, 7,8,10; 3 | Matrix B; 4 | B << 3,1, 3,1, 4,1; 5 | Matrix X; 6 | X = A.fullPivLu().solve(B); 7 | cout << "The solution with right-hand side (3,3,4) is:" << endl; 8 | cout << X.col(0) << endl; 9 | cout << "The solution with right-hand side (1,1,1) is:" << endl; 10 | cout << X.col(1) << endl; 11 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/5DT_Data_Glove_14_Ultra.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Fifth Dimension Technologies", 3 | "deviceName": "5DT Data Glove 14 Ultra", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-18T12:53:21Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 14 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/sparse_ref_1.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Sparse" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void call_ref(Ref > a) { } 12 | 13 | int main() 14 | { 15 | SparseMatrix a(10,10); 16 | CV_QUALIFIER SparseMatrix& ac(a); 17 | call_ref(ac); 18 | } 19 | -------------------------------------------------------------------------------- /vendor/eigen/.hgignore: -------------------------------------------------------------------------------- 1 | syntax: glob 2 | qrc_*cxx 3 | *.orig 4 | *.pyc 5 | *.diff 6 | diff 7 | *.save 8 | save 9 | *.old 10 | *.gmo 11 | *.qm 12 | core 13 | core.* 14 | *.bak 15 | *~ 16 | *build* 17 | *.moc.* 18 | *.moc 19 | ui_* 20 | CMakeCache.txt 21 | tags 22 | .*.swp 23 | activity.png 24 | *.out 25 | *.php* 26 | *.log 27 | *.orig 28 | *.rej 29 | log 30 | patch 31 | a 32 | a.* 33 | lapack/testing 34 | lapack/reference 35 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/QuickStart_example2_dynamic.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace Eigen; 5 | using namespace std; 6 | 7 | int main() 8 | { 9 | MatrixXd m = MatrixXd::Random(3,3); 10 | m = (m + MatrixXd::Constant(3,3,1.2)) * 50; 11 | cout << "m =" << endl << m << endl; 12 | VectorXd v(3); 13 | v << 1, 2, 3; 14 | cout << "m * v =" << endl << m * v << endl; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/EigenSolver_compute.cpp: -------------------------------------------------------------------------------- 1 | EigenSolver es; 2 | MatrixXf A = MatrixXf::Random(4,4); 3 | es.compute(A, /* computeEigenvectors = */ false); 4 | cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 5 | es.compute(A + MatrixXf::Identity(4,4), false); // re-use es to compute eigenvalues of A+I 6 | cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_computeInverseWithCheck.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m = Matrix3d::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | Matrix3d inverse; 4 | bool invertible; 5 | m.computeInverseWithCheck(inverse,invertible); 6 | if(invertible) { 7 | cout << "It is invertible, and its inverse is:" << endl << inverse << endl; 8 | } 9 | else { 10 | cout << "It is not invertible." << endl; 11 | } 12 | -------------------------------------------------------------------------------- /cmake/export-to-directory.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | src="$(dirname $(readlink -f $0))" 4 | 5 | if [ "x$1" = "x-f" ]; then 6 | dst="$(readlink -mn $2)/" 7 | args="-f" 8 | else 9 | dst="$(readlink -mn $1)/" 10 | args="$2" 11 | fi 12 | 13 | echo "Exporting the modules from '$src' to '$dst'" 14 | 15 | mkdir -p $dst 16 | ( 17 | cd "$src" 18 | git checkout-index -a $args "--prefix=$dst" 19 | ) 20 | 21 | echo "Done!" 22 | 23 | -------------------------------------------------------------------------------- /vendor/eigen/bench/bench_sum.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | using namespace Eigen; 4 | using namespace std; 5 | 6 | int main() 7 | { 8 | typedef Matrix Vec; 9 | Vec v(SIZE); 10 | v.setZero(); 11 | v[0] = 1; 12 | v[1] = 2; 13 | for(int i = 0; i < 1000000; i++) 14 | { 15 | v.coeffRef(0) += v.sum() * SCALAR(1e-20); 16 | } 17 | cout << v.sum() << endl; 18 | } 19 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_selfadjointView.cpp: -------------------------------------------------------------------------------- 1 | Matrix3i m = Matrix3i::Random(); 2 | cout << "Here is the matrix m:" << endl << m << endl; 3 | cout << "Here is the symmetric matrix extracted from the upper part of m:" << endl 4 | << Matrix3i(m.selfadjointView()) << endl; 5 | cout << "Here is the symmetric matrix extracted from the lower part of m:" << endl 6 | << Matrix3i(m.selfadjointView()) << endl; 7 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/MatrixBase_hnormalized.cpp: -------------------------------------------------------------------------------- 1 | Vector4d v = Vector4d::Random(); 2 | Projective3d P(Matrix4d::Random()); 3 | cout << "v = " << v.transpose() << "]^T" << endl; 4 | cout << "v.hnormalized() = " << v.hnormalized().transpose() << "]^T" << endl; 5 | cout << "P*v = " << (P*v).transpose() << "]^T" << endl; 6 | cout << "(P*v).hnormalized() = " << (P*v).hnormalized().transpose() << "]^T" << endl; -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/PartialPivLU_solve.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd A = MatrixXd::Random(3,3); 2 | MatrixXd B = MatrixXd::Random(3,2); 3 | cout << "Here is the invertible matrix A:" << endl << A << endl; 4 | cout << "Here is the matrix B:" << endl << B << endl; 5 | MatrixXd X = A.lu().solve(B); 6 | cout << "Here is the (unique) solution X to the equation AX=B:" << endl << X << endl; 7 | cout << "Relative error: " << (A*X-B).norm() / B.norm() << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/cwiseunaryview_on_const_type_actually_const.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(){ 12 | MatrixXf m; 13 | CwiseUnaryView,CV_QUALIFIER MatrixXf>(m).coeffRef(0, 0) = 1.0f; 14 | } 15 | 16 | int main() {} 17 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/map_nonconst_ctor_on_const_ptr_3.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER const 5 | #else 6 | #define CV_QUALIFIER 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(CV_QUALIFIER float *ptr, DenseIndex rows, DenseIndex cols){ 12 | Map > m(ptr, rows, cols, InnerStride<2>()); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/HouseholderQR_solve.cpp: -------------------------------------------------------------------------------- 1 | typedef Matrix Matrix3x3; 2 | Matrix3x3 m = Matrix3x3::Random(); 3 | Matrix3f y = Matrix3f::Random(); 4 | cout << "Here is the matrix m:" << endl << m << endl; 5 | cout << "Here is the matrix y:" << endl << y << endl; 6 | Matrix3f x; 7 | x = m.householderQr().solve(y); 8 | assert(y.isApprox(m*x)); 9 | cout << "Here is a solution x to the equation mx=y:" << endl << x << endl; 10 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Nintendo_WiiMote.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Nintendo", 3 | "deviceName": "WiiMote", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:26:02Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 96 10 | }, 11 | "button": { 12 | "count": 64 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Oculus_Rift_DK1.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Oculus VR", 3 | "deviceName": "Rift DK1", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T21:26:41Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 11 10 | }, 11 | "tracker": { 12 | "count": 1 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Oculus_Rift_DK2.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Oculus VR", 3 | "deviceName": "Rift DK2", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T21:28:31Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 11 10 | }, 11 | "tracker": { 12 | "count": 1 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /vendor/eigen/doc/special_examples/random_cpp11.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | using namespace Eigen; 6 | 7 | int main() { 8 | std::default_random_engine generator; 9 | std::poisson_distribution distribution(4.1); 10 | auto poisson = [&] () {return distribution(generator);}; 11 | 12 | RowVectorXi v = RowVectorXi::NullaryExpr(10, poisson ); 13 | std::cout << v << "\n"; 14 | } 15 | -------------------------------------------------------------------------------- /vendor/eigen/failtest/map_nonconst_ctor_on_const_ptr_4.cpp: -------------------------------------------------------------------------------- 1 | #include "../Eigen/Core" 2 | 3 | #ifdef EIGEN_SHOULD_FAIL_TO_BUILD 4 | #define CV_QUALIFIER 5 | #else 6 | #define CV_QUALIFIER const 7 | #endif 8 | 9 | using namespace Eigen; 10 | 11 | void foo(const float *ptr, DenseIndex rows, DenseIndex cols){ 12 | Map > m(ptr, rows, cols, OuterStride<>(2)); 13 | } 14 | 15 | int main() {} 16 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Global_Haptics_Orb.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Global Haptics", 3 | "deviceName": "Orb", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T19:59:29Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 6 10 | }, 11 | "button": { 12 | "count": 30 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /cmake/ghost-fake-stl/pair.h: -------------------------------------------------------------------------------- 1 | /** @file 2 | @brief Fake header to allow GHOST 4.09 use with MSVC 2005 3 | 4 | @date 2012 5 | 6 | @author 7 | Ryan Pavlik 8 | and 9 | http://academic.cleardefinition.com/ 10 | Iowa State University Virtual Reality Applications Center 11 | Human-Computer Interaction Graduate Program 12 | */ 13 | 14 | #pragma once 15 | 16 | #include 17 | using std::pair; 18 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/FullPivLU_image.cpp: -------------------------------------------------------------------------------- 1 | Matrix3d m; 2 | m << 1,1,0, 3 | 1,3,2, 4 | 0,1,1; 5 | cout << "Here is the matrix m:" << endl << m << endl; 6 | cout << "Notice that the middle column is the sum of the two others, so the " 7 | << "columns are linearly dependent." << endl; 8 | cout << "Here is a matrix whose columns have the same span but are linearly independent:" 9 | << endl << m.fullPivLu().image(m) << endl; 10 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp: -------------------------------------------------------------------------------- 1 | MatrixXd X = MatrixXd::Random(4,4); 2 | MatrixXd A = X * X.transpose(); 3 | cout << "Here is a random positive-definite matrix, A:" << endl << A << endl << endl; 4 | 5 | SelfAdjointEigenSolver es(A); 6 | MatrixXd sqrtA = es.operatorSqrt(); 7 | cout << "The square root of A is: " << endl << sqrtA << endl; 8 | cout << "If we square this, we get: " << endl << sqrtA*sqrtA << endl; 9 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/BG_Systems_CerealBox.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "BG Systems, Inc.", 3 | "deviceName": "CerealBox", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T18:00:41Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 8 10 | }, 11 | "button": { 12 | "count": 8 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Novint_Falcon.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Novint Technologies Inc", 3 | "deviceName": "Falcon", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T15:32:39Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 4 10 | }, 11 | "tracker": { 12 | "count": 1 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/make_circulant.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | This program is presented in several fragments in the doc page. 3 | Every fragment is in its own file; this file simply combines them. 4 | */ 5 | 6 | #include "make_circulant.cpp.preamble" 7 | #include "make_circulant.cpp.traits" 8 | #include "make_circulant.cpp.expression" 9 | #include "make_circulant.cpp.evaluator" 10 | #include "make_circulant.cpp.entry" 11 | #include "make_circulant.cpp.main" 12 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp: -------------------------------------------------------------------------------- 1 | SelfAdjointEigenSolver es; 2 | Matrix4f X = Matrix4f::Random(4,4); 3 | Matrix4f A = X + X.transpose(); 4 | es.compute(A); 5 | cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 6 | es.compute(A + Matrix4f::Identity(4,4)); // re-use es to compute eigenvalues of A+I 7 | cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/SelfAdjointEigenSolver_compute_MatrixType.cpp: -------------------------------------------------------------------------------- 1 | SelfAdjointEigenSolver es(4); 2 | MatrixXf X = MatrixXf::Random(4,4); 3 | MatrixXf A = X + X.transpose(); 4 | es.compute(A); 5 | cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl; 6 | es.compute(A + MatrixXf::Identity(4,4)); // re-use es to compute eigenvalues of A+I 7 | cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl; 8 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/Tutorial_AdvancedInitialization_Zero.cpp: -------------------------------------------------------------------------------- 1 | std::cout << "A fixed-size array:\n"; 2 | Array33f a1 = Array33f::Zero(); 3 | std::cout << a1 << "\n\n"; 4 | 5 | 6 | std::cout << "A one-dimensional dynamic-size array:\n"; 7 | ArrayXf a2 = ArrayXf::Zero(3); 8 | std::cout << a2 << "\n\n"; 9 | 10 | 11 | std::cout << "A two-dimensional dynamic-size array:\n"; 12 | ArrayXXf a3 = ArrayXXf::Zero(3, 4); 13 | std::cout << a3 << "\n"; 14 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Mindtel_TNG3.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Mindtel LLC", 3 | "deviceName": "Totally Neat Gadget (TNG) 3", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T14:27:04Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 8 10 | }, 11 | "button": { 12 | "count": 8 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/X-keys_Joystick.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "P.I. Engineering", 3 | "deviceName": "X-keys Joystick", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:41:37Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 3 10 | }, 11 | "button": { 12 | "count": 59 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /devtools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(BUILD_OSVR_JSON_TO_C) 2 | add_executable(osvr_json_to_c osvr_json_to_c.cpp) 3 | set_target_properties(osvr_json_to_c PROPERTIES 4 | FOLDER "OSVR Stock Applications") 5 | target_link_libraries(osvr_json_to_c PRIVATE JsonCpp::JsonCpp boost_program_options) 6 | install(TARGETS osvr_json_to_c 7 | EXPORT osvrTargets 8 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT DevTools) 9 | endif() 10 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/3Dconnexion_Spaceball_5000.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "3Dconnexion", 3 | "deviceName": "Spaceball 5000", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-17T23:35:55Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 6 10 | }, 11 | "button": { 12 | "count": 12 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/3Dconnexion_Spacemouse_Pro.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "3Dconnexion", 3 | "deviceName": "Spacemouse Pro", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-17T23:33:12Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 6 10 | }, 11 | "button": { 12 | "count": 27 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Griffin_Powermate.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Griffin Technology", 3 | "deviceName": "PowerMate Controller", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T20:01:21Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 1 10 | }, 11 | "button": { 12 | "count": 1 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/3Dconnexion_Spacemouse_Plus_XT.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "3Dconnexion", 3 | "deviceName": "Spacemouse Plus XT", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-17T23:31:39Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 6 10 | }, 11 | "button": { 12 | "count": 11 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/CH_Products_Fighterstick_USB.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "CH Products", 3 | "deviceName": "Fighterstick USB", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T18:04:42Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 8 10 | }, 11 | "button": { 12 | "count": 24 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/LogiCad_3D_Magellan_controller.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "LogiCad 3D", 3 | "deviceName": "Magellan controller", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T20:47:29Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 6 10 | }, 11 | "button": { 12 | "count": 9 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/MicroScribe_3D.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Solution Technologies, Inc.", 3 | "deviceName": "MicroScribe 3D", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-18T12:43:34Z", 7 | "interfaces": { 8 | "button": { 9 | "count": 2 10 | }, 11 | "tracker": { 12 | "count": 1 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/X-keys_XK-12_Joystick.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "P.I. Engineering", 3 | "deviceName": "X-keys XK-12 Joystick", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:38:10Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 4 10 | }, 11 | "button": { 12 | "count": 13 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /devtools/iwyu.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | BUILDDIR=$(cd $1 && pwd) 3 | IWYUTOOL=iwyu_tool 4 | DEVTOOLS=$(cd $(dirname $0) && pwd) 5 | LIBS=$(cd $(dirname $0) 6 | cd ../inc/osvr 7 | for lib in *; do 8 | echo $lib 9 | done) 10 | for lib in $LIBS; do 11 | ( 12 | cd $DEVTOOLS/.. 13 | $IWYUTOOL -p $BUILDDIR src/osvr/$lib/*.cpp src/osvr/$lib/*.h inc/osvr/$lib/*.h -- --check_also=*.h --mapping_file=$DEVTOOLS/iwyu.imp 2>&1 |tee iwyu-$lib.txt 14 | ) 15 | done -------------------------------------------------------------------------------- /tests/cplusplus/Kalman/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | foreach(test KalmanConstruction KalmanNoNaNs) 3 | add_executable(Test${test} 4 | ${test}.cpp) 5 | target_link_libraries(Test${test} osvrKalman eigen-headers osvr-catch-main) 6 | add_test(NAME Test${test} COMMAND Test${test}) 7 | endforeach() 8 | 9 | add_executable(Kalman_ManualTest ContentsInvalid.h ManualTest.cpp) 10 | target_link_libraries(Kalman_ManualTest osvrKalman eigen-headers osvr_cxx11_flags) 11 | -------------------------------------------------------------------------------- /vendor/eigen/doc/examples/Tutorial_BlockOperations_vector.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | using namespace std; 5 | 6 | int main() 7 | { 8 | Eigen::ArrayXf v(6); 9 | v << 1, 2, 3, 4, 5, 6; 10 | cout << "v.head(3) =" << endl << v.head(3) << endl << endl; 11 | cout << "v.tail<3>() = " << endl << v.tail<3>() << endl << endl; 12 | v.segment(1,4) *= 2; 13 | cout << "after 'v.segment(1,4) *= 2', v =" << endl << v << endl; 14 | } 15 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/3Dconnexion_Spacemouse_Wireless.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "3Dconnexion", 3 | "deviceName": "Spacemouse Wireless", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-17T23:33:58Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 6 10 | }, 11 | "button": { 12 | "count": 2 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/Contour_Design_ShuttleXpress.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "Contour Design, Inc.", 3 | "deviceName": "ShuttleXpress", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-01-21T18:06:56Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 3 10 | }, 11 | "button": { 12 | "count": 5 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /apps/external-devices/device-descriptors/X-keys_Jog_and_Shuttle.json: -------------------------------------------------------------------------------- 1 | { 2 | "deviceVendor": "P.I. Engineering", 3 | "deviceName": "X-keys Jog and Shuttle", 4 | "author": "Kevin M. Godby ", 5 | "version": 1, 6 | "lastModified": "2016-02-10T16:43:28Z", 7 | "interfaces": { 8 | "analog": { 9 | "count": 3 10 | }, 11 | "button": { 12 | "count": 59 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /vendor/eigen/doc/snippets/HessenbergDecomposition_matrixH.cpp: -------------------------------------------------------------------------------- 1 | Matrix4f A = MatrixXf::Random(4,4); 2 | cout << "Here is a random 4x4 matrix:" << endl << A << endl; 3 | HessenbergDecomposition hessOfA(A); 4 | MatrixXf H = hessOfA.matrixH(); 5 | cout << "The Hessenberg matrix H is:" << endl << H << endl; 6 | MatrixXf Q = hessOfA.matrixQ(); 7 | cout << "The orthogonal matrix Q is:" << endl << Q << endl; 8 | cout << "Q H Q^T is:" << endl << Q * H * Q.transpose() << endl; 9 | --------------------------------------------------------------------------------