MRPT
1.9.9
T2DScanProperties.h
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
#ifndef T2DScanProperties_H
10
#define T2DScanProperties_H
11
12
namespace
mrpt::obs
13
{
14
/** Auxiliary struct that holds all the relevant *geometry* information about a
15
* 2D scan.
16
* This class is used in CSinCosLookUpTableFor2DScans
17
* \ingroup mrpt_obs_grp
18
* \sa CObservation2DRangeScan, CObservation2DRangeScan::getScanProperties,
19
* CSinCosLookUpTableFor2DScans
20
*/
21
struct
T2DScanProperties
22
{
23
size_t
nRays
;
24
double
aperture
;
25
/** Angles storage order: true=counterclockwise; false=clockwise */
26
bool
rightToLeft
;
27
};
28
/** Order operator, so T2DScanProperties can appear in associative STL
29
* containers. */
30
bool
operator<
(
const
T2DScanProperties
&
a
,
const
T2DScanProperties
&
b
);
31
32
}
33
#endif
34
35
mrpt::obs::operator<
bool operator<(const T2DScanProperties &a, const T2DScanProperties &b)
Order operator, so T2DScanProperties can appear in associative STL containers.
Definition:
CObservation2DRangeScan.cpp:448
mrpt::obs::T2DScanProperties::nRays
size_t nRays
Definition:
T2DScanProperties.h:23
mrpt::obs::T2DScanProperties
Auxiliary struct that holds all the relevant geometry information about a 2D scan.
Definition:
T2DScanProperties.h:21
mrpt::obs
This namespace contains representation of robot actions and observations.
Definition:
CParticleFilter.h:17
b
GLubyte GLubyte b
Definition:
glext.h:6279
mrpt::obs::T2DScanProperties::aperture
double aperture
Definition:
T2DScanProperties.h:24
mrpt::obs::T2DScanProperties::rightToLeft
bool rightToLeft
Angles storage order: true=counterclockwise; false=clockwise.
Definition:
T2DScanProperties.h:26
a
GLubyte GLubyte GLubyte a
Definition:
glext.h:6279
Page generated by
Doxygen 1.8.14
for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020