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

Ability to configure output-rates #9

Merged
merged 26 commits into from
Oct 18, 2022
Merged

Ability to configure output-rates #9

merged 26 commits into from
Oct 18, 2022

Conversation

Scottapotamas
Copy link
Owner

@Scottapotamas Scottapotamas commented Oct 2, 2022

Feature requested in #4.

Adds ability for user to generate a list of fields with desired frequencies along with optional precision/co-ordinate reference conventions.

Remaining work before PR acceptance:

  • Additional test case(s) with packet data sniffed from MTManager configuration process
  • Test coverage for NED, NWU output settings
  • Successfully configures output frequency on real hardware
  • Documentation
  • Usage example Arduino sketch for run-time configuration

Ability to send a list of XDI identifiers with frequency in Hz to the IMU, with configurable precision and co-ordinate reference values if applicable.
Adds missing MT_SETOUTPUTCONFIGURUATION enum value.
Includes basic test coverage.
Implementation as part of #4.
Basic sanity checks of endian-swap and quaternion/euler conversion functions.
Closes #6
For conversion into and from fixed-point into float/double.
Includes test coverage.
As part of #7.
Namespaced as to avoid conflict with end-user's existing macros.
Includes basic test coverage.
Additional output configuration test coverage following real hardware behaviour.
Updated based on new manual and some missing gaps, minor enum refactor.
Ensures all MTi->host packets are in handler table to allow overrides.
Untested arduino sketch with statemachine to periodically request new output configuration settings. 
Part of #4.
Based on hardware sniffed golden packet with FP1220, FP1632 etc.
Returns value matched against enums.
Includes test coverage backed by real packets and datasheet.
Helps 'remove' number precision and coordinate system info from a fully configured XDI.
Includes test coverage.
Minor readability/logic cleanup
1220 tests are passing, while fp1632 currently fail with negative values.
Manually handles the sign-bit.
Minor tweaks as failing tests now function. 
Closes #11
Provides end-users with ability to check if a rotation was ENU, NED, NWU.
See #10
@Scottapotamas Scottapotamas merged commit d7d8e0f into master Oct 18, 2022
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.

1 participant