18#include <creos/robot_clock.hpp> 
   19#include <nlohmann/json.hpp> 
   77NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(
Range, timestamp, type, range, field_of_view, min_range, max_range)
 
The messages that are used in the communication between the agent and the client.
Definition accel.hpp:22
 
RangeSensorId
Range sensor id.
Definition range.hpp:82
 
@ kDownwardsLidar
Downwards facing lidar.
 
Range message containing the range measurement of a sensor.
Definition range.hpp:28
 
auto operator<=>(const Range &other) const =default
Compare two messages.
 
float max_range
maximum range of the sensor [m]
Definition range.hpp:69
 
creos::RobotClock::time_point timestamp
Timestamp of the range measurement.
Definition range.hpp:39
 
std::string frame_id
Frame id of the sensor.
Definition range.hpp:44
 
float range
Range measurement [m].
Definition range.hpp:54
 
Type type
Type of the range sensor.
Definition range.hpp:49
 
float min_range
minimum range of the sensor [m]
Definition range.hpp:64
 
float field_of_view
Field of view of the sensor [rad].
Definition range.hpp:59