0.4.1
Loading...
Searching...
No Matches
InsOutputs.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
9/// @file TimeOutputs.hpp
10/// @brief Binary Group 6 - INS Outputs
11/// @author T. Topp (topp@ins.uni-stuttgart.de)
12/// @date 2021-07-01
13
14#pragma once
15
16#include <cstdint>
17#include "util/Eigen.hpp"
18
19#include <vn/types.h>
21
23{
24/// @brief Binary Group 6 - INS Outputs
26{
27 /// @brief Available data in this struct
28 vn::protocol::uart::InsGroup insField = vn::protocol::uart::InsGroup::INSGROUP_NONE;
29
30 /// @brief Ins Status
31 ///
32 /// The INS status bitfield. See the INS Solution - LLA Register in the INS subsystem for more information on
33 /// the individual bits in this field.
35
36 /// @brief Ins Position (latitude, longitude, altitude)
37 ///
38 /// The estimated position given as latitude, longitude, and altitude given in [deg, deg, m] respectively.
39 Eigen::Vector3d posLla;
40
41 /// @brief Ins Position (ECEF)
42 ///
43 /// The estimated position given in the Earth centered Earth fixed (ECEF) frame, reported in meters.
44 Eigen::Vector3d posEcef;
45
46 /// @brief Ins Velocity (Body)
47 ///
48 /// The estimated velocity in the body frame, given in m/s.
49 Eigen::Vector3f velBody;
50
51 /// @brief Ins Velocity (NED)
52 ///
53 /// The estimated velocity in the North East Down (NED) frame, given in m/s.
54 Eigen::Vector3f velNed;
55
56 /// @brief Ins Velocity (ECEF)
57 ///
58 /// The estimated velocity in the Earth centered Earth fixed (ECEF) frame, given in m/s.
59 Eigen::Vector3f velEcef;
60
61 /// @brief Compensated magnetic (ECEF)
62 ///
63 /// The compensated magnetic measurement in the Earth centered Earth fixed (ECEF) frame, given in Gauss.
64 Eigen::Vector3f magEcef;
65
66 /// @brief Compensated acceleration (ECEF)
67 ///
68 /// The estimated acceleration (with gravity) reported in m/s^2, given in the Earth centered Earth fixed (ECEF)
69 /// frame. The acceleration measurement has been bias compensated by the onboard INS filter. This
70 /// measurement is attitude dependent, since the attitude is used to map the measurement from the body frame
71 /// into the inertial (ECEF) frame. If the device is stationary and the INS filter is tracking, the measurement
72 /// should be nominally equivalent to the gravity reference vector in the inertial frame (ECEF).
73 Eigen::Vector3f accelEcef;
74
75 /// @brief Compensated linear acceleration (no gravity) (ECEF)
76 ///
77 /// The estimated linear acceleration (without gravity) reported in m/s^2, and given in the Earth centered Earth
78 /// fixed (ECEF) frame. This measurement is attitude dependent as the attitude solution is used to map the
79 /// measurement from the body frame into the inertial (ECEF) frame. This acceleration measurement has been
80 /// bias compensated by the onboard INS filter, and the gravity component has been removed using the current
81 /// gravity reference vector estimate. If the device is stationary and the onboard INS filter is tracking, the
82 /// measurement will nominally read 0 in all three axes.
83 Eigen::Vector3f linearAccelEcef;
84
85 /// @brief Ins Position Uncertainty
86 ///
87 /// The estimated uncertainty (1 Sigma) in the current position estimate, given in meters.
88 float posU{};
89
90 /// @brief Ins Velocity Uncertainty
91 ///
92 /// The estimated uncertainty (1 Sigma) in the current velocity estimate, given in m/s.
93 float velU{};
94};
95
96} // namespace NAV::vendor::vectornav
Vector space operations.
Type Definitions for VectorNav messages.
Binary Group 6 - INS Outputs.
Eigen::Vector3d posEcef
Ins Position (ECEF)
Eigen::Vector3f velEcef
Ins Velocity (ECEF)
Eigen::Vector3f velBody
Ins Velocity (Body)
Eigen::Vector3d posLla
Ins Position (latitude, longitude, altitude)
float posU
Ins Position Uncertainty.
Eigen::Vector3f accelEcef
Compensated acceleration (ECEF)
Eigen::Vector3f velNed
Ins Velocity (NED)
vn::protocol::uart::InsGroup insField
Available data in this struct.
Eigen::Vector3f magEcef
Compensated magnetic (ECEF)
float velU
Ins Velocity Uncertainty.
Eigen::Vector3f linearAccelEcef
Compensated linear acceleration (no gravity) (ECEF)