karto::GridIndexLookup< T > Class Template Reference
#include <Karto.h>
List of all members.
Detailed Description
template<typename T>
class karto::GridIndexLookup< T >
Create lookup tables for point readings at varying angles in grid. For each angle, grid indexes are calculated for each range reading. This is to speed up finding best angle/position for a localized range scan
Used heavily in mapper and localizer.
In the localizer, this is a huge speed up for calculating possible position. For each particle, a probability is calculated. The range scan is the same, but all grid indexes at all possible angles are calculated. So when calculating the particle probability at a specific angle, the index table is used to look up probability in probability grid!
Definition at line 5950 of file Karto.h.
Constructor & Destructor Documentation
Member Function Documentation
Compute lookup value of points for given angle
- Parameters:
-
| angleIndex | |
| angle | |
| rLocalPoints | |
Definition at line 6037 of file Karto.h.
Compute lookup table of the points of the given scan for the given angular space
- Parameters:
-
| pScan | the scan |
| angleCenter | |
| angleOffset | computes lookup arrays for the angles within this offset around angleStart |
| angleResolution | how fine a granularity to compute lookup arrays in the angular space |
Definition at line 5994 of file Karto.h.
Delete the arrays
Definition at line 6107 of file Karto.h.
Gets the lookup array for a particular angle index
- Parameters:
-
- Returns:
- lookup array
Definition at line 5975 of file Karto.h.
Sets size of lookup table (resize if not big enough)
- Parameters:
-
Definition at line 6080 of file Karto.h.
Member Data Documentation
The documentation for this class was generated from the following file: