Go to the documentation of this file.
9 #ifndef CSinCosLookUpTableFor2DScans_H
10 #define CSinCosLookUpTableFor2DScans_H
21 class CObservation2DRangeScan;
58 mutable std::map<T2DScanProperties, TSinCosValues>
m_cache;
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.
std::map< T2DScanProperties, TSinCosValues > m_cache
The cache of known scans and their sin/cos tables.
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.
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,...
mrpt::math::CVectorFloat ccos
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
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |