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

mavlink / MAVSDK / 14786222322

02 May 2025 12:33AM UTC coverage: 44.223% (+0.009%) from 44.214%
14786222322

push

github

web-flow
Merge pull request #2545 from Luc-Meunier/autopilot-name

core: overload operator<< for Autopilot name

0 of 8 new or added lines in 1 file covered. (0.0%)

14620 of 33060 relevant lines covered (44.22%)

281.99 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/mavsdk/core/autopilot.cpp
1
#include "autopilot.h"
2

3
namespace mavsdk {
4

NEW
5
std::ostream& operator<<(std::ostream& str, const Autopilot& autopilot)
×
6
{
NEW
7
    switch (autopilot) {
×
NEW
8
        case Autopilot::Px4:
×
NEW
9
            return str << "Px4";
×
NEW
10
        case Autopilot::ArduPilot:
×
NEW
11
            return str << "ArduPilot";
×
NEW
12
        default:
×
NEW
13
            return str << "Unknown";
×
14
    }
15
}
16

17
} // namespace mavsdk
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