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

Range message containing the range measurement of a sensor. More...

#include <creos/messages/range.hpp>

Public Types

enum  Type { kUnknown = -1 , kUltrasonic = 0 , kInfrared }
 

Public Member Functions

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

Public Attributes

creos::RobotClock::time_point timestamp
 Timestamp of the range measurement.
 
std::string frame_id
 Frame id of the sensor.
 
Type type = kUnknown
 Type of the range sensor.
 
float range = 0
 Range measurement [m].
 
float field_of_view = 0
 Field of view of the sensor [rad].
 
float min_range = 0
 minimum range of the sensor [m]
 
float max_range = INFINITY
 maximum range of the sensor [m]
 

Detailed Description

Range message containing the range measurement of a sensor.


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