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