Skip to content

Implementing full support for OpenRing#110

Closed
TobiasRoeddiger wants to merge 52 commits intomainfrom
open-ring
Closed

Implementing full support for OpenRing#110
TobiasRoeddiger wants to merge 52 commits intomainfrom
open-ring

Conversation

@TobiasRoeddiger
Copy link
Member

No description provided.

@CLAassistant
Copy link

CLAassistant commented Feb 11, 2026

CLA assistant check
All committers have signed the CLA.

@TobiasRoeddiger TobiasRoeddiger marked this pull request as draft February 11, 2026 06:48
@github-actions
Copy link

github-actions bot commented Feb 11, 2026

Visit the preview URL for this PR (updated for commit b1e3b8d):

https://open-earable-lib-web-example--pr110-open-ring-pqv01yxi.web.app

(expires Wed, 18 Mar 2026 10:54:25 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7f6db4d9d00b851ad49af109fa949061904b3151

chartTitle: "Accelerometer",
shortChartTitle: "Acc.",
axisNames: ["X", "Y", "Z"],
axisUnits: ["g", "g", "g"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is certainly not in "g". Laying the Ring flat on the table results in 1000 on one axis and 0 on the others. So maybe it is "mg"?

chartTitle: "Gyroscope",
shortChartTitle: "Gyr.",
axisNames: ["X", "Y", "Z"],
axisUnits: ["dps", "dps", "dps"],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also does seem to not match the actual unit. A ring not in motion returns around 20 for some axes

w.registerCapability<TimeSynchronizable>(timeSync);

unawaited(
_synchronizeTimeOnConnect(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to explicitly sync when connecting to a ring? Should the library or the app handle this? For OpenEarable the app checks if the device can synchronise the time and then synchronises. The library only provides this functionality but not call it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to (either automatically or manually) assign the 'off' value so that it can be used automatically. See SensorConfiguration.offValue

axisNames: ["X", "Y", "Z"],
axisUnits: ["dps", "dps", "dps"],
sensorHandler: sensorHandler,
),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assign the related configurations to make it easier for developers to configure sensors

@TobiasRoeddiger TobiasRoeddiger marked this pull request as ready for review February 14, 2026 05:57
@DennisMoschina DennisMoschina self-assigned this Feb 17, 2026
@DennisMoschina
Copy link
Collaborator

I created a new pull request #113 from a cleaned up branch with all the open ring changes while excluding everything that has nothing to do with the open-ring. I will now also created pull requests from separate branches that implement the other features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments