0.3.0
Loading...
Searching...
No Matches
NAV::vendor::emlid Namespace Reference

Data Structures

class  EmlidUartSensor
 Class to read out Emlid Sensors. More...
 
struct  ErbDops
 Dilution of Precision This message outputs dimensionless values of DOP. These values are scaled by factor 100. More...
 
struct  ErbPos
 Geodetic Position Solution. More...
 
struct  ErbRtk
 RTK Information This message output information about RTK. More...
 
struct  ErbStat
 Receiver Navigation Status This message contains status of Fix, its type and also the number of used satellites. More...
 
struct  ErbSvi
 Space Vehicle Information This message output information about observation satellites. More...
 
struct  ErbVel
 Velocity Solution in NED See important comments concerning validity of position given in section Navigation Output Filters. More...
 
struct  ErbVer
 Version of Protocol. More...
 

Enumerations

enum  ErbMessageID : uint8_t {
  ERB_MessageId_NONE ,
  ERB_MessageId_VER ,
  ERB_MessageId_POS ,
  ERB_MessageId_STAT ,
  ERB_MessageId_DPOS ,
  ERB_MessageId_VEL ,
  ERB_MessageId_SVI ,
  ERB_MessageId_RTK
}
 The available ERB Message IDs. More...
 
enum  ErrorDetectionMode : uint8_t {
  ERRORDETECTIONMODE_NONE ,
  ERRORDETECTIONMODE_CHECKSUM
}
 Error detection modes available. More...
 

Functions

std::pair< uint8_t, uint8_t > checksumUBX (const std::vector< uint8_t > &data)
 Calculates the two UBX checksums for the provided data vector.
 
void decryptEmlidObs (const std::shared_ptr< NAV::EmlidObs > &obs, uart::protocol::Packet &packet)
 Decrypts the provided Emlid observation.
 
ErbMessageID getMsgIdFromString (const std::string &idName)
 Get the ERB Msg ID From String object.
 

Enumeration Type Documentation

◆ ErbMessageID

The available ERB Message IDs.

Enumerator
ERB_MessageId_NONE 

No Message Class specified.

ERB_MessageId_VER 

Version of protocol.

ERB_MessageId_POS 

Geodetic position solution.

ERB_MessageId_STAT 

Receiver navigation status.

ERB_MessageId_DPOS 

Dilution of precision.

ERB_MessageId_VEL 

Velocity solution in NED.

ERB_MessageId_SVI 

Space vehicle information.

ERB_MessageId_RTK 

RTK information.

Definition at line 33 of file EmlidTypes.hpp.

◆ ErrorDetectionMode

Error detection modes available.

Enumerator
ERRORDETECTIONMODE_NONE 

No error detection is used.

ERRORDETECTIONMODE_CHECKSUM 

16-bit checksum is used

Definition at line 26 of file EmlidTypes.hpp.

Function Documentation

◆ checksumUBX()

std::pair< uint8_t, uint8_t > NAV::vendor::emlid::checksumUBX ( const std::vector< uint8_t > & data)

Calculates the two UBX checksums for the provided data vector.

Parameters
[in]dataData Vector for which the checksum should be calculated
Returns
The checksums CK_A and CK_B

Definition at line 216 of file EmlidUtilities.cpp.

◆ decryptEmlidObs()

void NAV::vendor::emlid::decryptEmlidObs ( const std::shared_ptr< NAV::EmlidObs > & obs,
uart::protocol::Packet & packet )

Decrypts the provided Emlid observation.

Parameters
[in]obsEmlid Observation to decrypt
[in,out]packetUart packet with the data (content gets changed because data gets extracted)

Definition at line 15 of file EmlidUtilities.cpp.

◆ getMsgIdFromString()

NAV::vendor::emlid::ErbMessageID NAV::vendor::emlid::getMsgIdFromString ( const std::string & idName)
nodiscard

Get the ERB Msg ID From String object.

Parameters
[in]idNameString of the ERB Class
Returns
The ERB ID

Definition at line 11 of file EmlidTypes.cpp.