INSTINCT Code Coverage Report


Directory: src/
File: util/Vendor/VectorNav/VectorNavTypes.cpp
Date: 2025-02-07 16:54:41
Exec Total Coverage
Lines: 0 24 0.0%
Functions: 0 1 0.0%
Branches: 0 8 0.0%

Line Branch Exec Source
1 // This file is part of INSTINCT, the INS Toolkit for Integrated
2 // Navigation Concepts and Training by the Institute of Navigation of
3 // the University of Stuttgart, Germany.
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9 #include "VectorNavTypes.hpp"
10
11 std::ostream& NAV::vendor::vectornav::operator<<(std::ostream& os, const NAV::vendor::vectornav::SatSys& satSys)
12 {
13 switch (satSys)
14 {
15 case SatSys::GPS:
16 os << "GPS";
17 break;
18 case SatSys::SBAS:
19 os << "SBAS";
20 break;
21 case SatSys::Galileo:
22 os << "Galileo";
23 break;
24 case SatSys::BeiDou:
25 os << "BeiDou";
26 break;
27 case SatSys::IMES:
28 os << "IMES";
29 break;
30 case SatSys::QZSS:
31 os << "QZSS";
32 break;
33 case SatSys::GLONASS:
34 os << "GLONASS";
35 break;
36 }
37 return os;
38 }
39