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

mavlink / MAVSDK / 14784907480

01 May 2025 10:46PM UTC coverage: 44.203% (-0.01%) from 44.214%
14784907480

Pull #2545

github

web-flow
Merge ca9d17d08 into 93a7eb52b
Pull Request #2545: core: overload operator<< for Autopilot name

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

14613 of 33059 relevant lines covered (44.2%)

282.49 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