Main MRPT website > C++ reference for 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-2017, 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
15 {
16 namespace obs
17 {
18 namespace gnss
19 {
20 /** GPS datum for TopCon's mmGPS devices: PZS. \sa mrpt::obs::CObservationGPS */
22 {
23  /** Static msg type (member expected by templates) */
24  enum
25  {
27  };
28 
29  /** The measured latitude, in degrees (North:+ , South:-) */
31  /** The measured longitude, in degrees (East:+ , West:-) */
33  /** ellipsoidal height from N-beam [m] perhaps weighted with regular gps */
34  double height_meters;
35  /** ellipsoidal height [m] without N-beam correction */
37  /** position SEP [m] */
38  float PSigma;
39  /** Vertical angle of N-beam */
41  /** ID of the transmitter [1-4], 0 if none. */
43  /** 1: GPS, 2: mmGPS */
45  /** battery level on transmitter */
47  /** battery level on receiver */
49  uint8_t error; //! system error indicator
50 
52  /** Only if hasCartesianPosVel is true */
54  /** Only if hasCartesianPosVel is true */
56 
57  bool hasPosCov;
58  /** Only if hasPosCov is true */
60 
61  bool hasVelCov;
62  /** Only if hasPosCov is true */
64 
65  bool hasStats;
67  stats_GLONASS_sats_used; //<! Only if hasStats is true
68  /** [0,100] %, only in modes other than RTK FIXED. */
70 
72  /** Return the geodetic coords as a mrpt::topography::TGeodeticCoords
73  * structure (requires linking against mrpt-topography)
74  * Call as: getAsStruct<TGeodeticCoords>(); */
75  template <class TGEODETICCOORDS>
76  inline TGEODETICCOORDS getAsStruct() const
77  {
78  return TGEODETICCOORDS(
80  }
81  void dumpToStream(
82  mrpt::utils::CStream& out) const override; // See docs in base
83 
84  protected:
85  void internal_writeToStream(mrpt::utils::CStream& out) const override;
87 
88  public:
90 };
91 
92 /** TopCon mmGPS devices: SATS, a generic structure for statistics about tracked
93  * satelites and their positions. \sa mrpt::obs::CObservationGPS */
95 {
96  /** Static msg type (member expected by templates) */
97  enum
98  {
100  };
101 
103 
104  /** The list of USI (Universal Sat ID) for the detected sats (See GRIL
105  * Manual, pag 4-31). */
107  /** Elevation (in degrees, 0-90) for each satellite in USIs. */
109  /** Azimuth (in degrees, 0-360) for each satellite in USIs. */
111 
112  void dumpToStream(
113  mrpt::utils::CStream& out) const override; // See docs in base
114  protected:
115  void internal_writeToStream(mrpt::utils::CStream& out) const override;
117 };
118 }
119 }
120 } // End of namespaces
double angle_transmitter
Vertical angle of N-beam.
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
mrpt::vector_byte USIs
The list of USI (Universal Sat ID) for the detected sats (See GRIL Manual, pag 4-31).
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.
#define MRPT_MAKE_ALIGNED_OPERATOR_NEW
Definition: memory.h:134
TGEODETICCOORDS getAsStruct() const
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against...
void internal_readFromStream(mrpt::utils::CStream &in) override
Save to binary stream.
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
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:41
void dumpToStream(mrpt::utils::CStream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
A numeric matrix of compile-time fixed size.
void internal_readFromStream(mrpt::utils::CStream &in) override
Save to binary stream.
mrpt::math::CMatrixFloat44 pos_covariance
Only if hasPosCov is true.
uint8_t RXBattery
battery level on receiver
mrpt::vector_signed_byte ELs
Elevation (in degrees, 0-90) for each satellite in USIs.
double cartesian_x
Only if hasCartesianPosVel is true.
mrpt::vector_signed_word AZs
Azimuth (in degrees, 0-360) for each satellite in USIs.
void internal_writeToStream(mrpt::utils::CStream &out) const override
Save to binary stream.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void dumpToStream(mrpt::utils::CStream &out) const override
Dumps the contents of the observation in a human-readable form to a given output stream.
Pure virtual base for all message types.
GLuint in
Definition: glext.h:7274
std::vector< int8_t > vector_signed_byte
uint8_t TXBattery
battery level on transmitter
double cartesian_vx
Only if hasCartesianPosVel is true.
std::vector< uint8_t > vector_byte
double RTK_height_meters
ellipsoidal height [m] without N-beam correction
void internal_writeToStream(mrpt::utils::CStream &out) const override
Save to binary stream.
std::vector< int16_t > vector_signed_word
double longitude_degrees
The measured longitude, in degrees (East:+ , West:-)



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019