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

ArduPilot / MethodicConfigurator / 29150700489
92%

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2026 11:24AM UTC
Jobs 3
Files 89
Run time 1min
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

11 Jul 2026 11:16AM UTC coverage: 94.342% (+0.005%) from 94.337%
29150700489

push

github

amilcarlucas
fix(accel-cal): suppress stale position messages across poll calls

After the user confirms a calibration position, ArduPilot keeps sending
the same MAV_CMD_ACCELCAL_VEHICLE_POS every second.  The drain loop
introduced in the previous commit consumed queued duplicates within a
single call, but the first poll after confirmation still returned the
stale value, re-enabling the Continue button for the already-confirmed
orientation.

Fix by tracking the last returned position in
`_last_accel_cal_vehicle_pos` and returning None when the drained value
matches it.  Reset the tracker in `send_accel_calibration_full_start()`
so each calibration session starts clean.

Also fix two existing tests whose `recv_match.return_value = mock_msg`
pattern caused an infinite loop inside the drain loop; use
`side_effect = [mock_msg, None]` instead.

Add `test_poll_accel_cal_vehicle_pos_suppresses_stale_position_after_confirmation`
to cover the full three-step scenario: LEVEL returned once, stale LEVEL
suppressed, LEFT returned when the FC advances.

Closes #1801

2138 of 2212 branches covered (96.65%)

13605 of 14421 relevant lines covered (94.34%)

2.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-py3.10 - 29150700489.1 11 Jul 2026 11:34AM UTC 89
94.27
GitHub Action Run
2 run-windows-latest-py3.14 - 29150700489.2 11 Jul 2026 11:24AM UTC 89
94.11
GitHub Action Run
3 run-ubuntu-latest-py3.14 - 29150700489.3 11 Jul 2026 11:32AM UTC 89
94.25
GitHub Action Run
Source Files on build 29150700489
  • Tree
  • List 89
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29150700489
  • 1e04f4cc on github
  • Prev Build on master (#29148818850)
  • Next Build on master (#29154306756)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc