MRPT  1.9.9
gnss_messages_topcon.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #pragma once
10 
11 #include "gnss_messages_common.h"
13 
14 namespace mrpt::obs::gnss
15 {
16 /** GPS datum for TopCon's mmGPS devices: PZS. \sa mrpt::obs::CObservationGPS */
18 {
19  /** Static msg type (member expected by templates) */
20  enum
21  {
23  };
24 
25  /** The measured latitude, in degrees (North:+ , South:-) */
27  /** The measured longitude, in degrees (East:+ , West:-) */
29  /** ellipsoidal height from N-beam [m] perhaps weighted with regular gps */
30  double height_meters;
31  /** ellipsoidal height [m] without N-beam correction */
33  /** position SEP [m] */
34  float PSigma;
35  /** Vertical angle of N-beam */
37  /** ID of the transmitter [1-4], 0 if none. */
39  /** 1: GPS, 2: mmGPS */
41  /** battery level on transmitter */
43  /** battery level on receiver */
45  uint8_t error; //! system error indicator
46 
48  /** Only if hasCartesianPosVel is true */
50  /** Only if hasCartesianPosVel is true */
52 
53  bool hasPosCov;
54  /** Only if hasPosCov is true */
56 
57  bool hasVelCov;
58  /** Only if hasPosCov is true */
60 
61  bool hasStats;
63  stats_GLONASS_sats_used; //<! Only if hasStats is true
64  /** [0,100] %, only in modes other than RTK FIXED. */
66 
68  /** Return the geodetic coords as a mrpt::topography::TGeodeticCoords
69  * structure (requires linking against mrpt-topography)
70  * Call as: getAsStruct<TGeodeticCoords>(); */
71  template <class TGEODETICCOORDS>
72  inline TGEODETICCOORDS getAsStruct() const
73  {
74  return TGEODETICCOORDS(
76  }
77  void dumpToStream(std::ostream& out) const override; // See docs in base
78 
79  protected:
81  mrpt::serialization::CArchive& out) const override;
83 
84  public:
86 };
87 
88 /** TopCon mmGPS devices: SATS, a generic structure for statistics about tracked
89  * satelites and their positions. \sa mrpt::obs::CObservationGPS */
91 {
92  /** Static msg type (member expected by templates) */
93  enum
94  {
96  };
97 
99 
100  /** The list of USI (Universal Sat ID) for the detected sats (See GRIL
101  * Manual, pag 4-31). */
102  std::vector<uint8_t> USIs;
103  /** Elevation (in degrees, 0-90) for each satellite in USIs. */
104  std::vector<int8_t> ELs;
105  /** Azimuth (in degrees, 0-360) for each satellite in USIs. */
106  std::vector<int16_t> AZs;
107 
108  void dumpToStream(std::ostream& out) const override; // See docs in base
109  protected:
111  mrpt::serialization::CArchive& out) const override;
113 };
114 }
115 
double angle_transmitter
Vertical angle of N-beam.
std::vector< int16_t > AZs
Azimuth (in degrees, 0-360) for each satellite in USIs.
uint8_t stats_rtk_fix_progress
[0,100] %, only in modes other than RTK FIXED.
double height_meters
ellipsoidal height from N-beam [m] perhaps weighted with regular gps
void dumpToStream(std::ostream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
TopCon mmGPS devices: SATS, a generic structure for statistics about tracked satelites and their posi...
mrpt::math::CMatrixFloat44 vel_covariance
Only if hasPosCov is true.
void dumpToStream(std::ostream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
TGEODETICCOORDS getAsStruct() const
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against...
void internal_writeToStream(mrpt::serialization::CArchive &out) const override
Save to binary stream.
void internal_readFromStream(mrpt::serialization::CArchive &in) override
Save to binary stream.
#define MRPT_MAKE_ALIGNED_OPERATOR_NEW
Put this macro inside any class with members that require {16,32,64}-byte memory alignment (e...
GPS datum for TopCon&#39;s mmGPS devices: PZS.
double latitude_degrees
The measured latitude, in degrees (North:+ , South:-)
uint8_t nId
ID of the transmitter [1-4], 0 if none.
bool hasCartesianPosVel
system error indicator
unsigned char uint8_t
Definition: rptypes.h:41
A numeric matrix of compile-time fixed size.
mrpt::math::CMatrixFloat44 pos_covariance
Only if hasPosCov is true.
void internal_readFromStream(mrpt::serialization::CArchive &in) override
Save to binary stream.
uint8_t RXBattery
battery level on receiver
GNSS (GPS) data structures, mainly for use within mrpt::obs::CObservationGPS.
double cartesian_x
Only if hasCartesianPosVel is true.
std::vector< uint8_t > USIs
The list of USI (Universal Sat ID) for the detected sats (See GRIL Manual, pag 4-31).
Virtual base class for "archives": classes abstracting I/O streams.
Definition: CArchive.h:52
Pure virtual base for all message types.
GLuint in
Definition: glext.h:7274
uint8_t TXBattery
battery level on transmitter
double cartesian_vx
Only if hasCartesianPosVel is true.
double RTK_height_meters
ellipsoidal height [m] without N-beam correction
std::vector< int8_t > ELs
Elevation (in degrees, 0-90) for each satellite in USIs.
double longitude_degrees
The measured longitude, in degrees (East:+ , West:-)
void internal_writeToStream(mrpt::serialization::CArchive &out) const override
Save to binary stream.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020