Go to the documentation of this file.
9 #ifndef CSinCosLookUpTableFor2DScans_H
10 #define CSinCosLookUpTableFor2DScans_H
22 class CObservation2DRangeScan;
53 mutable std::map<T2DScanProperties,TSinCosValues>
m_cache;
std::map< T2DScanProperties, TSinCosValues > m_cache
The cache of known scans and their sin/cos tables.
const TSinCosValues & getSinCosForScan(const T2DScanProperties &scan_prop) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
Column vector, like Eigen::MatrixX*, but automatically initialized to zeros since construction.
Auxiliary struct that holds all the relevant geometry information about a 2D scan.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
A smart look-up-table (LUT) of sin/cos values for 2D laser scans.
A pair of vectors with the cos and sin values.
mrpt::math::CVectorFloat csin
const TSinCosValues & getSinCosForScan(const CObservation2DRangeScan &scan) const
Return two vectors with the cos and the sin of the angles for each of the rays in a scan,...
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |