Public Member Functions | Public Attributes | List of all members
ScanPoint Struct Reference

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). More...
 
bool is_occupied
 True, if this point is occupied and False otherwise. More...
 
double range
 The range of point in polar. More...
 

Detailed Description

Contains a point in polar coordinates and a state whether it is occupied.

Definition at line 16 of file sensor_data.h.

Constructor & Destructor Documentation

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.

Member Data Documentation

double ScanPoint::angle

The angle of point in polar (in radians).

Definition at line 26 of file sensor_data.h.

bool ScanPoint::is_occupied

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.


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


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