OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.23k stars 653 forks source link

Calculate Logarithm of Hu-Moments on Map Generation #826

Closed de6b30 closed 1 week ago

de6b30 commented 1 week ago

At the moment the logarithm of the Hu moments is calculated while loading the Map Blobs from File:

map-pipeline.cpp, line 82:

tmp.hu_mean[i] = metrics::signed_log(tmp.hu_mean[i]); // NOTE: possibly add hu_min/max log here as well.

We should do this in the map-generator before saving the map files to save compute time in the localization loop.

We should also investigate if the above comment from the source code has still any relevance.

de6b30 commented 1 week ago

Please delete, issue has been opened by mistake