From bdcf723ae9bb7dddd288edbe340e3078a921ca90 Mon Sep 17 00:00:00 2001 From: jake downs Date: Tue, 13 Feb 2024 16:36:09 -0500 Subject: [PATCH] update readme --- README.md | 5 +++++ index_old.html | 4 +++- js_air/glasses.js | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81cb1b8..763d597 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,11 @@ work in progress; webxr support for xreal devices - [XR Linux Driver](https://github.com/wheaney/XRLinuxDriver) - [OpenVR-xrealAirGlassesHMD](https://github.com/wheaney/OpenVR-xrealAirGlassesHMD) +### Community Resources +- [AR glasses USB protocols: the Good, the Bad and the Ugly](https://voidcomputing.hu/blog/good-bad-ugly) Void Computing AR API Write Up +- [AHRS Drift Analysis - Notebook Gist](https://gist.github.com/CGamesPlay/b3ea7740ea8715d19e89f5511491519f) +- [AHRS Drift Overview - Youtube](https://www.youtube.com/watch?v=Hvd9qVIusB0) + ### Utilities - 🪞 [Unofficial Firmware Archive Mirror](https://air.msmithdev.com/) diff --git a/index_old.html b/index_old.html index e737afd..baf510b 100644 --- a/index_old.html +++ b/index_old.html @@ -320,7 +320,7 @@ // }); // } - function connect() { + window.connect = function() { Common.connectDevice().then(async glasses => { if (glasses) { document.getElementById('startIMU').style.display = 'block' @@ -337,6 +337,8 @@ // document.getElementById('sn').innerHTML = getSN() // document.getElementById('version').innerText = '版本号' + firmwareMcu() setOutput('glasses : ' + glasses.toString()); + }).catch((err) => { + setOutput('glasses : ' + err.toString()); }); } diff --git a/js_air/glasses.js b/js_air/glasses.js index 2eb6239..be97f68 100644 --- a/js_air/glasses.js +++ b/js_air/glasses.js @@ -343,7 +343,7 @@ export default class Glasses extends EventTarget { return out }).join(' '); - document.getElementById('imu').innerHTML = stringified + //document.getElementById('imu').innerHTML = stringified // debugger; if(current < stop_at){