Add CI testing of axis convention remapping#54
Draft
nickswalker wants to merge 8 commits into
Draft
Conversation
apply_axis_convention converts between any named conventions (normalize to HID first) modify_device_info gains remap_axes; mutually exclusive with invert_axes
# Conflicts: # docs/mouseApi/examples.md
Co-authored-by: Peter Mitrano (AR) <peter.mitrano@agile-robots.com>
Co-authored-by: Peter Mitrano (AR) <peter.mitrano@agile-robots.com>
Add Python 3.14 support
Reviewer's GuideAdds explicit, invertible axis convention mappings (including new ROS and UNITY frames), tracks the convention on DeviceInfo, generalizes modify_device_info for arbitrary remaps, adds compatibility shims for dataclass slots on Python 3.8/3.9, wires conventions into docs and API text, extends CI to run axis-convention tests across Python 3.8–3.14, and verifies all AxisConvention variants round-trip through HID mappings. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Add tests that round-trip every
AxisConventionthrough HID and verify mappings are preservedAdd a small dataclass
slots=Truecompatibility shim so the package imports on Python 3.8/3.9 during CIAlso added Python 3.14 as well
Meant to be considered after #52
Summary by Sourcery
Add richer axis convention support, including new ROS and Unity frames, and validate these mappings via dedicated tests, while broadening Python version support and documenting the updated usage.
New Features:
Enhancements:
Build:
CI:
Documentation:
Tests: