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

mavlink / MAVSDK / 2557
25%
main: 48%

Build:
Build:
LAST BUILD BRANCH: relay
DEFAULT BRANCH: main
Ran 22 Sep 2018 10:14AM UTC
Jobs 1
Files 2389
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

pending completion
2557

push

travis-ci

julianoes
core: try to prevent command lockup

This is an attempt to fix a lockup issue that we see in the Swift
example app when the camera capture status subscription is used.
Presumably, the lockup has nothing to do with the actual camera capture
status but it just leads to the right timing to trigger something else.

What happens is that `receive_timeout()` is called but then the command
queue turns out to be empty (returns `nullptr`). After that, no more
commands can be processed and we keep getting the warning:
"Command ack not matching our current command: 257".

This makes sense because we stop doing work, so send any commands as
long as `_state` is `State::WAITING` and there is no other timeout that
would reset this.

Therefore, this change should resolve that case by reseting `_state`, so
that we can keep going.

However, this change does not fix or explain why the queue is empty in
the first place and out of sync with `_state`.

1 of 1 new or added line in 1 file covered. (100.0%)

2198 of 8648 relevant lines covered (25.42%)

1718.8 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2557.3 (MATRIX_EVAL="BUILD_TARGET=coverage_build && CC=gcc-6 && CXX=g++-6") 22 Sep 2018 10:14AM UTC 0
25.42
Travis Job 2557.3
Source Files on build 2557
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2557
  • 4493446a on github
  • Next Build on fix-command-lockup (#2559)
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