Contains a point in polar coordinates and a state whether it is occupied. More...
#include <sensor_data.h>
Public Member Functions | |
ScanPoint (double rng=0, double ang=0, bool is_occ=true) | |
Public Attributes | |
double | angle |
The angle of point in polar (in radians). | |
bool | is_occupied |
True, if this point is occupied and False otherwise. | |
double | range |
The range of point in polar. |
Contains a point in polar coordinates and a state whether it is occupied.
Definition at line 16 of file sensor_data.h.
ScanPoint::ScanPoint | ( | double | rng = 0 , |
double | ang = 0 , |
||
bool | is_occ = true |
||
) | [inline] |
Initializes a point with given parameters. Creates an occupied point in (0,0) by default.
Definition at line 22 of file sensor_data.h.
double ScanPoint::angle |
The angle of point in polar (in radians).
Definition at line 26 of file sensor_data.h.
True, if this point is occupied and False otherwise.
Definition at line 27 of file sensor_data.h.
double ScanPoint::range |
The range of point in polar.
Definition at line 25 of file sensor_data.h.