CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
creos_messages::Gnss Struct Reference

The GNSS message contains the GNSS data of the robot. More...

#include <creos/messages/gnss.hpp>

Collaboration diagram for creos_messages::Gnss:

Classes

struct  Service
 

Public Types

enum  Augmentation {
  kInvalidStatus = -2 , kNoAugmentationFix = -1 , kUnaugmentedFix = 0 , kSatelliteBasedAugmentation = 1 ,
  kGroundBasedAugmentation = 2
}
 
enum  FixStatus {
  kNoFix = -1 , k2DFix = 0 , k3DFix = 1 , kRTKFloat = 2 ,
  kRTKFix = 3
}
 

Public Member Functions

auto operator<=> (const Gnss &other) const =default
 Compare two Gnss messages.
 

Public Attributes

creos::RobotClock::time_point timestamp
 Timestamp of when sensor data was created / measured.
 
std::string frame_id
 Frame id of the GNSS sensor.
 
Augmentation augmentation = Augmentation::kInvalidStatus
 The augmentation of the GNSS sensor.
 
Service service
 The service of the GNSS sensor.
 
GnssPosition position
 The position of the GNSS sensor.
 
GnssHeading heading
 The heading of the GNSS sensor.
 
FixStatus fix_status = FixStatus::kNoFix
 The fix status of the GNSS sensor.
 
int satellites_visible = 0
 The number of visible satellites.
 
int satellites_used = 0
 The number of satellites used in the fix.
 

Detailed Description

The GNSS message contains the GNSS data of the robot.

Member Enumeration Documentation

◆ Augmentation

Enumerator
kInvalidStatus 

The GNSS sensor has an invalid status.

kNoAugmentationFix 

The GNSS sensor has no fix.

kUnaugmentedFix 

The GNSS sensor has an unaugmented fix.

kSatelliteBasedAugmentation 

The GNSS sensor has a satellite based augmentation.

kGroundBasedAugmentation 

The GNSS sensor has a ground based augmentation.

◆ FixStatus

Enumerator
kNoFix 

The GNSS sensor has no fix.

k2DFix 

The GNSS sensor has a 2D fix.

k3DFix 

The GNSS sensor has a 3D fix.

kRTKFloat 

The GNSS sensor has a RTK float fix.

kRTKFix 

The GNSS sensor has a RTK fix.


The documentation for this struct was generated from the following file: