sensor_data.h
Go to the documentation of this file.
1 
7 #ifndef __SENSOR_DATA_H
8 #define __SENSOR_DATA_H
9 
10 #include <vector>
11 
16 struct ScanPoint {
17 
22  ScanPoint(double rng = 0, double ang = 0, bool is_occ = true):
23  range(rng), angle(ang), is_occupied(is_occ) {}
24 
25  double range;
26  double angle;
27  bool is_occupied;
28 };
29 
34  double d_x, d_y, d_yaw;
35 
36  std::vector<ScanPoint> points;
37  double quality;
38 };
39 
40 #endif
double angle
The angle of point in polar (in radians).
Definition: sensor_data.h:26
Contains a point in polar coordinates and a state whether it is occupied.
Definition: sensor_data.h:16
double range
The range of point in polar.
Definition: sensor_data.h:25
std::vector< ScanPoint > points
The vector of points on scan.
Definition: sensor_data.h:36
ScanPoint(double rng=0, double ang=0, bool is_occ=true)
Definition: sensor_data.h:22
double quality
The quality of scan. 0 - low, 1 - fine.
Definition: sensor_data.h:37
Framework internal representation of a laser scan.
Definition: sensor_data.h:33
bool is_occupied
True, if this point is occupied and False otherwise.
Definition: sensor_data.h:27
double d_yaw
The odometry delta.
Definition: sensor_data.h:34


tiny_slam
Author(s):
autogenerated on Mon Jun 10 2019 15:30:57