0.2.0
Loading...
Searching...
No Matches
EmlidObs.hpp
Go to the documentation of this file.
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
13
14#pragma once
15
16#include "NodeData/NodeData.hpp"
17
18#include <variant>
19
21
22namespace NAV
23{
25class EmlidObs : public NodeData
26{
27 public:
30 [[nodiscard]] static std::string type()
31 {
32 return "EmlidObs";
33 }
34
37 [[nodiscard]] static std::vector<std::string> parentTypes()
38 {
39 return { NodeData::type() };
40 }
41
43 uint8_t msgId = 0;
45 uint16_t payloadLength = 0;
46
48 std::variant<
49 vendor::emlid::ErbVer, // VER: Version of protocol
50 vendor::emlid::ErbPos, // POS: Geodetic position solution
51 vendor::emlid::ErbStat, // STAT: Receiver navigation status
52 vendor::emlid::ErbDops, // DOPS: Dilution of precision
53 vendor::emlid::ErbVel, // VEL: Velocity solution in NED
54 vendor::emlid::ErbSvi, // SVI: Space vehicle information
55 vendor::emlid::ErbRtk // RTK: RTK information
56 >
58};
59
60} // namespace NAV
Type Definitions for Emlid messages for Emlid Reach M2 ER Protocol.
Abstract NodeData Class.
Emlid Observation Class.
Definition EmlidObs.hpp:26
static std::vector< std::string > parentTypes()
Returns the parent types of the data class.
Definition EmlidObs.hpp:37
static std::string type()
Returns the type of the data class.
Definition EmlidObs.hpp:30
uint16_t payloadLength
Payload length in bytes.
Definition EmlidObs.hpp:45
std::variant< vendor::emlid::ErbVer, vendor::emlid::ErbPos, vendor::emlid::ErbStat, vendor::emlid::ErbDops, vendor::emlid::ErbVel, vendor::emlid::ErbSvi, vendor::emlid::ErbRtk > data
Decoded data.
Definition EmlidObs.hpp:57
uint8_t msgId
Erb Message ID.
Definition EmlidObs.hpp:43
Parent class for all data transmitted over Flow pins.
Definition NodeData.hpp:27
static std::string type()
Returns the type of the data class.
Definition NodeData.hpp:44
Dilution of Precision This message outputs dimensionless values of DOP. These values are scaled by fa...
Definition EmlidTypes.hpp:92
Geodetic Position Solution.
Definition EmlidTypes.hpp:68
RTK Information This message output information about RTK.
Definition EmlidTypes.hpp:133
Receiver Navigation Status This message contains status of Fix, its type and also the number of used ...
Definition EmlidTypes.hpp:81
Space Vehicle Information This message output information about observation satellites.
Definition EmlidTypes.hpp:117
Velocity Solution in NED See important comments concerning validity of position given in section Navi...
Definition EmlidTypes.hpp:103
Version of Protocol.
Definition EmlidTypes.hpp:56