Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report rest calibration #384

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gorbit99
Copy link
Contributor

@gorbit99 gorbit99 commented Feb 3, 2025

Adds rest calibration detection to the sensors, where it's possible to fetch this information in some shape or form, and includes it in the sensor info packet.

Solves #383

@gorbit99 gorbit99 requested a review from loucass003 February 3, 2025 17:26
@gorbit99 gorbit99 requested a review from Eirenliel as a code owner February 3, 2025 17:26
Copy link
Member

@TheDevMinerTV TheDevMinerTV left a comment

Choose a reason for hiding this comment

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

Netcode looks fine, just a nitpick

src/sensors/sensor.h Outdated Show resolved Hide resolved
@loucass003
Copy link
Member

loucass003 commented Feb 3, 2025

Sorry i told you to send a boolean but looking at your code i feel that it might be better to send the calibation state enum directly.
The calibrating state might be interesting to display.

Aside from that, the code looks good

Edit: Confirmed why on discord. All good

@loucass003 loucass003 linked an issue Feb 3, 2025 that may be closed by this pull request
Copy link
Member

@TheDevMinerTV TheDevMinerTV left a comment

Choose a reason for hiding this comment

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

LGTM

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.

[BNO085] Detect rest status and send calibrated info to the server
3 participants