Repository navigation
Conversation
Attaching the built-in debug target means saving and restoring the device's target list, profile, intercept mode and event filters. The inertial validation tool needs the same bookkeeping as the device test tool, so extract it into a helper that both menus call. While at it: - Separate attach and restore into named functions taking the connection and the composite device path. - Keep what a restore needs in one SavedState. - Report an unsupported target type as an error rather than a string. - Simplify the profile handling, the wait loop and the target list. - Log why the signal handler stops instead of discarding the error. - Use doc comments in place of step comments. Assisted-by: LLM
The performance and test commands each build a terminal UI, spawn the blocking run and unwrap the error by hand. Take that shape once so a new menu command does not repeat it. Assisted-by: LLM
A guided run through four resting poses and three quarter turns measures every inertial sensor a device advertises at the same moment, so a combined sensor and the sensors it is averaged from can be compared directly. Steps are judged on fixed time windows and rotations on the angle the gyro integrates, which makes the result independent of how fast a device reports and exposes a wrong scale that a mean angular rate hides. The tool states the mount matrix change each sensor calls for and where to make it. It writes nothing: a derived transform is printed with the file and key it belongs to, because the values it corrects come from the running daemon's configuration. Assisted-by: LLM
Explain the measurement rules a reader needs to interpret a run: sources that filter unchanged events go silent while a device is held still, so the counts shown are deltas rather than a report rate, and rotation steps pass on the integrated angle rather than on a mean. Assisted-by: LLM
pastaq
force-pushed
the
pastaq/test_imu_tui
branch
from
November 20, 2026 12:25
475386d to
c88ff81
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an IMU Test TUI