aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Adding world-position into calibrate's visualizationMike Turvey2017-05-191-2/+2
|
* Fix my disambiguator. Seems to work with either-or lighthouse.cnlohr2017-05-131-30/+16
|
* use multiplicationJoshua Allen2017-05-071-6/+6
|
* Merge branch 'master' of github.com:cnlohr/libsurviveJoshua Allen2017-05-071-6/+10
|\ | | | | | | | | Conflicts: src/survive_vive.c
| * Tweak calibration values.cnlohr2017-05-061-6/+11
| |
* | handle applying calibration numbers to watchman devicesJoshua Allen2017-05-071-29/+44
|/
* check proper pointer for nullJoshua Allen2017-05-061-1/+1
|
* use calibration numbers from device json filesJoshua Allen2017-05-061-0/+77
|
* fix commentJoshua Allen2017-05-051-0/+1
|
* calibration values from MPU-6500 datasheet.Joshua Allen2017-05-051-0/+11
| | | | | I'm pretty sure the accelerometer values are correct. The gyroscope values may not be correct.
* Merge branch 'tau_test'Joshua Allen2017-05-051-15/+54
|\ | | | | | | | | Conflicts: src/survive_data.c
| * should be absolute valuetau_testJosh Allen2017-04-091-5/+7
| | | | | | | | if statement should not be combined
| * untested tau testJosh Allen2017-04-091-15/+53
| |
* | Reduce Poser CallsMichael Turvey2017-04-301-1/+1
| | | | | | I've been seeing starvation that manifests itself as weird light data coming into the disambiguator. A major cause ended up being starvation. This change will cut the frequency of poser calls by by 75%
* | Merge pull request #61 from mwturvey/FixWirelessOnWindowsMichael Turvey2017-04-301-1/+2
|\ \ | | | | | | Fix regression that broke support for wireless controllers on Windows
| * | Fix regression that broke support for wireless controllers on WindowsMike Turvey2017-04-301-1/+2
| | |
* | | Fix charles' disambiguator to work with one lighthouse and @axlecrusher's ↵cnlohr2017-04-301-60/+65
| | | | | | | | | | | | OOTX reader.
* | | Update the charles disambiguatorcnlohr2017-04-301-15/+38
| | |
* | | Fix mistaken edit to survive_vive which dropped rest of packet when invalid ↵cnlohr2017-04-301-2/+2
| | | | | | | | | | | | sensor was found. Feels odd that this is actually an issue.
* | | Fix survive_vive's accidental collection of code 0xfe data elements.cnlohr2017-04-291-2/+2
|/ /
* | Fix warnings by including <math.h>Dr. Orion Lawlor2017-04-171-0/+1
| |
* | Disabling remove_outliers because it's removing too many non-outliersMike Turvey2017-04-111-0/+1
| |
* | Better messaging when finding a deviceMike Turvey2017-04-111-1/+2
| |
* | Improve performance of gradient calculationmwturvey2017-04-111-4/+6
| |