aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://github.com/cnlohr/libsurvivecnlohr2018-03-101-1/+10
|\
| * Merge pull request #103 from jdavidberger/verify_FLT_at_startupCNLohr2018-03-101-1/+10
| |\ | | | | | | Added a check at init that makes sure the user agrees with what FLT is
| | * Updated error message to be more helpfulJustin Berger2018-03-081-1/+3
| | |
| | * Added a check at init that makes sure the user agrees with what FLT isJustin Berger2018-03-071-1/+8
| | |
* | | Whoops. This should _never_ print to stdout.cnlohr2018-03-101-1/+0
|/ /
* | Spaces -> Tabs (code formatting change)Justin Berger2018-03-093-344/+358
| |
* | Swapped to OGGetAbsoluteTime for timestampJustin Berger2018-03-091-11/+9
| |
* | 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-084-74/+459
|/
* Fixed inadvertent change to signedness of acceldataJustin Berger2018-03-042-6/+11
|
* 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
| |
* | Fixed typo which broke tr0 callbacksJustin Berger2018-02-231-1/+1
|/
* Fix a few warningsMike Turvey2018-01-152-3/+4
|
* Fix compiler warningsMike Turvey2018-01-154-9/+10
|
* fix various -Wall warningsChristoph Haag2018-01-153-6/+6
|
* 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
* A few changes to test.cMike Turvey2018-01-061-34/+34
| | | | | Hopefully, this will make it easier for anyone wanting to use libsurvive to have a simple starting point for doing so.
* 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.
* Update test.c to do calibrationMike Turvey2018-01-052-1/+13
|
* Add standard output mechanism for posersMike Turvey2018-01-054-14/+46
| | | | | Added a raw pose output/ callback that the posers can call when they have calculated a pose.
* Haptic Call PlumbedMike Turvey2018-01-043-18/+108
| | | | | 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
* Controller Buttons Fully ImplementedMike Turvey2018-01-033-21/+54
| | | | | Fully plumbed support for controller buttons Also, commented haptic call because it messed with the vive_magic calls, given where I had it.
* 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!
* Add button input support for wirelessMike Turvey2018-01-021-5/+28
|
* Capturing Button InputsMike Turvey2018-01-022-26/+262
| | | | | | 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.
* 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-281-28/+122
| | | | | | | | 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.
* Configuration ChangesMike Turvey2017-12-224-16/+47
| | | | | Added some config options. Changed a few defaults. Better output from PoserTurveyTori. Hopefully, this will make it easier for someone new to get up and running more easily.
* Load LH Config DataMike Turvey2017-12-203-4/+53
|
* Save Calibration Output To ConfigMike Turvey2017-12-201-0/+4
|
* Merge pull request #82 from mwturvey/SupportOneLighthouseMichael Turvey2017-12-192-2/+4
|\ | | | | Add support for using only 1 lighthouse
| * Add support for using only 1 lighthouseMike Turvey2017-12-192-2/+4
| | | | | | | | | | | | Change adds a config option for the number of "active" lighthouses, which can be 1. Calibrate will run with a single lighthouse if the new config option LighthouseCount is set to 1.
* | Small change to orientationMike Turvey2017-06-021-2/+2
| | | | | | | | This definitely works a little better. There are still issues.
* | Forgot to normalize the quaternionMike Turvey2017-06-011-2/+4
| |
* | Display Lighthouse Poses in calibrate.cMike Turvey2017-06-011-2/+2
| |
* | Updates to rotation calculation of tracked objectMike Turvey2017-05-311-5/+15
| |
* | Adding commentsMike Turvey2017-05-301-16/+59
| |
* | Add angleaxisfrom2vect()Mike Turvey2017-05-301-16/+29
| |
* | Mainly cleaning up warningsMike Turvey2017-05-301-1/+20
| |
* | More changes to torii fitness calculationsMike Turvey2017-05-261-4/+4
| |
* | Fixed an ugly stupid bug in ToriiMike Turvey2017-05-251-5/+2
|/
* Fix the orientation from ToriPoserMike Turvey2017-05-211-1/+11
| | | | | | Also updated the visualization in calibrate.c to show position & orientation as calculated by each lighthouse at the same time
* Use the IMU to determine +ZMike Turvey2017-05-212-7/+7
| | | | | | | This feature removes the requirement that you calibrate with the tracked object in any particular orientation. The IMU on the tracked object will be used to determine what direction is "up"
* Fix Tori PoserMike Turvey2017-05-211-12/+29
| | | | | | quattomatrix33() needed to be updated after the fix in quatfrom2vectors Additional poser updates to make it more robust. Poser is now updating based on both lighthouses. Expect significant jitter from this.