summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr/steamvr.cpp
AgeCommit message (Collapse)Author
2018-05-03tracker/{rift,steamvr}: rename reserved identifierStanislaw Halik
Could be declared as macro. Issue: #771
2018-05-03tracker/steamvr: fix GNU libc typedef conflictStanislaw Halik
Really sometimes they should be less intrusive. Reported-by: @zanoni-mbdyn Issue: #771
2018-03-10tracker/steamvr: inconsequential cleanupStanislaw Halik
2018-03-10tracker/steamvr: reduce indentationStanislaw Halik
No functional changes.
2018-03-10tracker/steamvr: update SDK APIStanislaw Halik
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-04api: add status check for modulesStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-07-24tracker/steamvr: fix friend decl for GNUStanislaw Halik
2017-05-21tracker/steamvr: cleanup stale commentsStanislaw Halik
We'll do gimbal lock avoidance in the compat module.
2017-05-21tracker/steamvr: fix formulae, pitch is/was brokenStanislaw Halik
@KydDynoMyte said on reddit pitch goes +180 on yaw over 90. It must be invalid matrix elements used in the call to atan2. Replace with the version from April. cf. https://www.reddit.com/r/Vive/comments/63qula/opentracks_almostdone_vive_support/dhrgh5l/?context=3
2017-05-18tracker/steamvr: fall back to old yaw formulaStanislaw Halik
User reports max 90 yaw.
2017-05-18tracker/steamvr: add "[disconnected]" in device listStanislaw Halik
2017-05-10tracker/steamvr: expose all valid devicesStanislaw Halik
2017-04-14tracker/steamvr: use double promotion for all arithmeticStanislaw Halik
The computation order isn't defined so parts might only get promoted to double after arithmetic. Promote all parts manually before arithmetic.
2017-04-14tracker/steamvr: don't reset seated pose for non-HMDStanislaw Halik
cf. https://github.com/opentrack/opentrack/issues/352#issuecomment-293885962
2017-04-13tracker/steamvr: use normal center for controllersStanislaw Halik
Issue: #352
2017-04-13tracker/steamvr: use doubles for intermediate computationStanislaw Halik
2017-04-09tracker/steamvr: add copyrightStanislaw Halik
Issue: #352
2017-04-10tracker/steamvr: Fix rotation issuesAnthony Coddington
Use well known matrix to euler decomposition formula, fixing some incorrect accesses. May need gimbal lock avoidance. Don't use opentrack centering as ResetSeatedZeroPose preserves calibrated real world up (Y) vector. Note: controllers are centered to HMD seated position. fixes most remaining issues in #352
2017-04-06tracker/steamvr: return more precise radian resultStanislaw Halik
While atan2's input is limited to single-float precision, extend result precision to double-float precision. The result's in radians. Why didn't gradians get popular?
2017-04-06tracker/steamvr: determine device uniqueness harderStanislaw Halik
Use "type-model-serial" as the discriminator. The API might present a single device with two types as the same model and serial or something similarly stupid.
2017-04-06tracker/steamvr: revert to asin formulaStanislaw Halik
2017-04-06tracker/steamvr: show device type before serialStanislaw Halik
2017-04-06tracker/steamvr: put serial number as userdataStanislaw Halik
2017-04-06tracker/steamvr: remove unusedStanislaw Halik
2017-04-06tracker/steamvr: remove needless once_only macro usageStanislaw Halik
2017-04-06tracker/steamvr: use strerror from right namespaceStanislaw Halik
Also use in device_list method to be explicit.
2017-04-06tracker/steamvr: add missing return in error pathStanislaw Halik
2017-04-06tracker/steamvr: support choosing device by its serial numberStanislaw Halik
Since the vr handle is accessed on the GUI and pipeline threads now, had to add implicit locking. This sadly reorganizes most of the file. Sadly this refactor likely broke things. cf. https://github.com/opentrack/opentrack/issues/352#issuecomment-290252520
2017-04-06tracker/steamvr: add center() overrideStanislaw Halik
2017-04-06tracker/steamvr: use atan2 rather than asinStanislaw Halik
Compute roll without a period of 90 deg. Submitted-by: @subnet-
2017-04-06tracker/steamvr: add copyrightStanislaw Halik
2017-03-28tracker/steamvr: fix vive rotation orderStanislaw Halik
Submitted-by: @subnet- Issue: #353 cf. https://github.com/opentrack/opentrack/issues/352#issuecomment-289306146 The submitter's working on the roll code. sin^1 codomain is +-90 deg. so we better use the equivalent atan2(3) formula.
2017-01-28tracker/steamvr: this copyright doesn't belong hereStanislaw Halik
2016-12-30tracker/steamvr: broken, but we already know the right rotation orderStanislaw Halik
2016-12-28tracker/steamvr: add untested geometry codeStanislaw Halik
2016-11-21tracker/{test,steamvr}: fix duplicate class namesStanislaw Halik
It breaks translation.
2016-11-18gui, modules: add more translatable stringsStanislaw Halik
2016-11-12tracker/steamvr: add broken versionStanislaw Halik
We still need axis-angle <-> rmat and euler with different order helpers.
2016-11-06tracker/steamvr: TO REBASEStanislaw Halik