mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 09:07:47 +08:00
OccupancyGrid: added getCache() method
This commit is contained in:
@@ -1162,7 +1162,7 @@ std::vector<int> VWDictionary::findNN(const cv::Mat & queryIn) const
|
||||
{
|
||||
float d = dists.at<float>(i,j);
|
||||
int index;
|
||||
UWARN("results elemSize1=%d", results.elemSize1());
|
||||
|
||||
if (sizeof(size_t) == 8)
|
||||
{
|
||||
index = *((size_t*)&results.at<double>(i, j));
|
||||
|
||||
Reference in New Issue
Block a user