aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #104 from jdavidberger/playback_driverCNLohr2018-03-108-361/+644
|\ | | | | Playback driver
| * Spaces -> Tabs (code formatting change)Justin Berger2018-03-094-469/+483
| |
| * Swapped to OGGetAbsoluteTime for timestampJustin Berger2018-03-092-19/+16
| |
| * Added time factor to playbackJustin Berger2018-03-081-13/+6
| |
| * Disable usb driver if playback is activeJustin Berger2018-03-081-2/+9
| |
| * Refactoring to reuse code standard to htc json formatJustin Berger2018-03-085-315/+168
| |
| * Added playback device driverJustin Berger2018-03-087-120/+539
| |
* | Fix non-HIDAPI usage in some situations on older udev platforms.cnlohr2018-03-101-0/+10
| |
* | Forgot to add hid-linux.ccnlohr2018-03-101-0/+798
| |
* | Add notes about how to install on DebianCNLohr2018-03-101-0/+2
|/
* Merge pull request #101 from jdavidberger/unsigned_fixCNLohr2018-03-042-6/+11
|\ | | | | Fixed inadvertent change to signedness of acceldata type
| * Fixed inadvertent change to signedness of acceldataJustin Berger2018-03-042-6/+11
|/
* Merge pull request #100 from ChristophHaag/masterCNLohr2018-02-261-1/+134
|\ | | | | add usage information to readme
| * add usage information to readmeChristoph Haag2018-02-251-1/+134
|/
* Merge pull request #99 from jdavidberger/misc-bugfixCNLohr2018-02-244-9/+23
|\ | | | | Fixed two minor / potential bugs
| * Fixed OOB memory accessJustin Berger2018-02-232-3/+4
| |
| * Fixed unaligned access issuesJustin Berger2018-02-232-6/+19
| |
* | Merge pull request #98 from jdavidberger/masterCNLohr2018-02-241-1/+1
|\ \ | |/ |/| Fixed typo which broke tr0 callbacks
| * Fixed typo which broke tr0 callbacksJustin Berger2018-02-231-1/+1
|/
* Merge pull request #96 from mwturvey/SmallChangeMichael Turvey2018-01-161-0/+2
|\ | | | | Add user pointer to survive context
| * Add user pointer to survive contextMike Turvey2018-01-161-0/+2
| |
* | Merge pull request #95 from mwturvey/SmallChangeMichael Turvey2018-01-158-20/+20
|\| | | | | Resolve warnings & remove survive.h dependency on redist
| * Fix a few warningsMike Turvey2018-01-154-7/+7
| |
| * Fix compiler warningsMike Turvey2018-01-156-13/+13
|/
* Merge pull request #94 from ChristophHaag/masterCNLohr2018-01-155-9/+10
|\ | | | | fix segfault in config_set_lighthouse() and various gcc warnings
| * fix various -Wall warningsChristoph Haag2018-01-154-7/+7
| |
| * fix segfault in config_set_lighthouse()Christoph Haag2018-01-151-2/+3
|/ | | | | also include the survive_config.h header to avoid various implicit function declaration warnings on gcc
* Merge pull request #93 from mwturvey/MakeTrackingGoodMichael Turvey2018-01-062-40/+107
|\ | | | | A few changes to test.c
| * A few changes to test.cMike Turvey2018-01-062-40/+107
| | | | | | | | | | Hopefully, this will make it easier for anyone wanting to use libsurvive to have a simple starting point for doing so.
* | Merge pull request #92 from mwturvey/MakeTrackingGoodMichael Turvey2018-01-051-1/+1
|\| | | | | Remove dependency on GetSem to fix linux segfault
| * Remove dependency on GetSem to fix linux segfaultMike Turvey2018-01-051-1/+1
| | | | | | | | Longer term, need to determine why if failed and fix root cause.
* | Merge pull request #91 from mwturvey/MakeTrackingGoodMichael Turvey2018-01-057-16/+66
|\| | | | | Provide standard way for posers to report pose output
| * Update test.c to do calibrationMike Turvey2018-01-053-1/+15
| |
| * Add standard output mechanism for posersMike Turvey2018-01-056-16/+52
| | | | | | | | | | Added a raw pose output/ callback that the posers can call when they have calculated a pose.
* | Merge pull request #90 from mwturvey/MakeTrackingGoodMichael Turvey2018-01-045-18/+115
|\| | | | | Haptic Call Plumbed
| * Haptic Call PlumbedMike Turvey2018-01-045-18/+115
| | | | | | | | | | The plumbing is now in place for the haptic call. Left in place a "demo" where haptic is called when a controller's trigger is pulled
* | Merge pull request #89 from mwturvey/MakeTrackingGoodMichael Turvey2018-01-035-26/+65
|\| | | | | Controller Buttons Fully Implemented
| * Controller Buttons Fully ImplementedMike Turvey2018-01-035-26/+65
| | | | | | | | | | Fully plumbed support for controller buttons Also, commented haptic call because it messed with the vive_magic calls, given where I had it.
* | Merge pull request #88 from mwturvey/MakeTrackingGoodMichael Turvey2018-01-021-7/+20
|\| | | | | Haptic POC
| * Haptic POCMike Turvey2018-01-021-7/+20
| | | | | | | | | | | | | | --Upon startup, Watchman1 (wireless only) will do a short haptic feedback/ vibration. --Also have some POC code that turns off the controller (currently disabled) --Thank you Nairol!
* | Merge pull request #87 from mwturvey/MakeTrackingGoodMichael Turvey2018-01-023-9/+398
|\| | | | | Add support for buttons
| * Add button input support for wirelessMike Turvey2018-01-021-5/+28
| |
| * Capturing Button InputsMike Turvey2018-01-023-27/+301
| | | | | | | | | | | | Currently only working on Windows over USB interface Inputs are only printed out, still need to propagate them up the stack. Buttons are placed in a queue, and "processed" on a different thread to avoid starvation.
| * Start to support buttonsMike Turvey2018-01-011-3/+95
| | | | | | | | | | | | Start the infrastructure for reading buttons from the tracked devices. Currently, only supporting wired controller and wired tracker. Data is printed only so far, not passed up the stack programmatically.
* | Merge pull request #86 from mwturvey/MakeTrackingGoodMichael Turvey2017-12-284-45/+230
|\| | | | | Make tracking good
| * Use accelerometer to determine "up"Mike Turvey2017-12-281-6/+6
| | | | | | | | | | The accelerometer will be used to determine "up" instead of blindly using +z during calibration
| * MUCH better trackingMike Turvey2017-12-281-5/+8
| | | | | | | | | | | | | | | | | | Works with 2 lighthouses. Tracking from both lighthouses agree *much* better than before Inverting the tracker no longer screws up tracking Still much work to do to remove all axis angle and speed up/ make predictable the algorithm to estimate the rotation of the LH relative to the tracked object.
| * Start work on determining rotation using quaternions onlyMike Turvey2017-12-284-36/+218
| | | | | | | | | | | | | | | | Rotation was previously approximated using axis/angle This change starts down the path of using quaternions exclusively. This change appears to give at least as good as answers as the axis/angle model in basic cases (also only tested with 1 lighthouse), but it is currently much slower and runs in unpredictable time.
| * Make Config Display a little more intuitiveMike Turvey2017-12-231-7/+7
| | | | | | | | | | | | Changed the position markers to indicate +x as the "flagged" direction. Since the lighthouses face +x (based on arbitrary decision months ago), this makes their display more logical.
* | Merge pull request #85 from mwturvey/SaveCalibrationOutputMichael Turvey2017-12-224-16/+47
|\| | | | | Configuration Changes