47 #ifndef _MIRA_RANGESCAN_H_ 48 #define _MIRA_RANGESCAN_H_ 50 #include <serialization/adapters/std/vector> 54 namespace mira {
namespace robot {
103 template<
typename Reflector>
108 r.member(
"Range",
range,
"The range scan vector. Values in meter");
109 r.member(
"Valid",
valid,
"Valid range scans (value=0 for valid scans) " 110 "referenced to the elements in the range scan vector");
111 r.member(
"Certainty",
certainty,
"Optional certainty values for each " 112 "scan referenced to the appropriate scan vector element");
113 r.member(
"Reflectance",
reflectance,
"Optional reflectance values for " 114 "each scan referenced to the appropriate scan vector element");
The first range code for device specific codes.
Definition: RangeScan.h:82
This class represents 2D range scans e.g.
Definition: RangeScan.h:63
std::vector< float > certainty
Optional certainty values for each scan referenced to the appropriate scan vector element...
Definition: RangeScan.h:132
RangeScan(std::size_t scans)
Construct a new range scan object with a given number of scans.
Definition: RangeScan.h:100
std::vector< float > range
The range scans. Values in meter.
Definition: RangeScan.h:122
RangeScan()
Definition: RangeScan.h:89
#define MIRA_REFLECT_BASE(reflector, BaseClass)
Information about configuration of 2D range scans.
std::vector< float > reflectance
Optional reflectance values for each scan referenced to the appropriate scan vector element...
Definition: RangeScan.h:136
This class stores information about the configuration and geometry of 2D range scans e...
Definition: RangeScanInfo.h:66
Scan is masked out and therefore not used.
Definition: RangeScan.h:80
Scan is invalid.
Definition: RangeScan.h:79
Scan is valid.
Definition: RangeScan.h:71
void reflect(Reflector &r)
Definition: RangeScan.h:104
std::vector< uint16 > valid
Information if a scan is valid.
Definition: RangeScan.h:128
Scan is below the minimum scan range of the sensor.
Definition: RangeScan.h:72
RangeCode
Codes used for single scans to signal if they are valid.
Definition: RangeScan.h:69
Scan is above the maximum scan range of the sensor.
Definition: RangeScan.h:73