• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wboayue / fusion-ahrs
95%

Build:
DEFAULT BRANCH: main
Repo Added 02 Jun 2025 05:57AM UTC
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • main

03 Jan 2026 12:09AM UTC coverage: 95.482% (+6.4%) from 89.078%
#18

push

web-flow
Add axes module and fix C parity issues (#26)

* Add axes module and match C library defaults

- Add AxesAlignment enum with 24 sensor mounting orientations
- Add axes_swap() function for sensor-to-body axis remapping
- Update AhrsSettings defaults to match C library:
  - gyroscope_range: 0.0 (disabled)
  - acceleration_rejection: 90.0°
  - magnetic_rejection: 90.0°
  - recovery_trigger_period: 0 (disabled)
- Update tests and documentation

* Bump version to 0.3.0

* Update Cargo.lock

* Remove Cargo.lock from version control

* fix gitignore

* Fix docs consistency and add submodule note

- Align enum name casing in axes.rs docstring
- Remove redundant inline comments in types.rs
- Note fusion-c submodule in CLAUDE.md

* Fix clippy warning, improve docs, add round-trip test

- Derive Default for Convention instead of manual impl
- Clarify AxesAlignment naming convention in docs
- Add inverse round-trip test for axes alignments
- Document that defaults provide minimal filtering

* Fix pre-existing clippy warnings in benchmarks and tests

- Use std::hint::black_box instead of deprecated criterion::black_box
- Use rng.random_range instead of deprecated gen_range
- Remove redundant if-else with identical branches

* Fix C parity issues: feedback scaling, asin in errors, calibration order

- Remove extra 0.5 scaling in feedback application (ahrs.rs)
- Add asin() to internal_states error calculation (ahrs.rs)
- Fix calibration order: (uncalibrated - offset) * sensitivity (calibration.rs)
- Add parity tests for all three fixes

* Fix C parity: half_magnetic formulas, flags comparison, internal_states normalization

- Fix half_magnetic x-component for NWU (qw*qy+qx*qz → qx*qy+qw*qz)
- Fix half_magnetic formulas for ENU and NED conventions
- Fix flags() to compare trigger > timeout (not trigger > 0)
- Fix internal_states to return normalized trigger (0.0-1.0)
- Fix update_external_heading to match C algorithm
- Add 10 C parity tests

* Fix C parity: initialis... (continued)

68 of 68 new or added lines in 3 files covered. (100.0%)

317 of 332 relevant lines covered (95.48%)

30705.29 hits per line

Relevant lines Covered
Build:
Build:
332 RELEVANT LINES 317 COVERED LINES
30705.29 HITS PER LINE
Source Files on main
  • Tree
  • List 7
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#18 main Add axes module and fix C parity issues (#26) * Add axes module and match C library defaults - Add AxesAlignment enum with 24 sensor mounting orientations - Add axes_swap() function for sensor-to-body axis remapping - Update AhrsSettings default... push 03 Jan 2026 12:18AM UTC web-flow
95.48
#17 main patch version push 02 Jan 2026 09:57PM UTC wboayue
89.08
#16 main Merge pull request #25 from wboayue/update-rust Update dependencies push 02 Jan 2026 09:41PM UTC web-flow
89.08
#15 main Fix unused import warnings and CI test reporting (#24) - Add #[allow(unused_imports)] for nalgebra traits needed in no_std builds - Remove unused constant and variable in tests - Switch from cargo2junit to cargo-nextest for stable JUnit output push 02 Jan 2026 09:34PM UTC web-flow
89.08
#14 main Merge pull request #20 from wboayue/dependabot/cargo/serde-1.0.228 chore(deps): bump serde from 1.0.223 to 1.0.228 push 05 Dec 2025 12:10AM UTC web-flow
89.08
#13 main Merge pull request #20 from wboayue/dependabot/cargo/serde-1.0.228 chore(deps): bump serde from 1.0.223 to 1.0.228 push 05 Dec 2025 12:09AM UTC web-flow
89.08
#12 main chore(deps): bump serde from 1.0.219 to 1.0.223 (#17) push 15 Sep 2025 08:10PM UTC web-flow
88.49
#11 main v0.2.0 push 06 Aug 2025 07:17AM UTC wboayue
88.49
#10 main v0.2.0 push 06 Aug 2025 07:03AM UTC wboayue
88.49
#9 main Merge pull request #16 from wboayue/add-benchmark-infrastructure Enable no_std support for nalgebra dependency push 06 Aug 2025 07:01AM UTC web-flow
88.49
See All Builds (17)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc