I was wondering if there is a possibility to work in a localization-only mode where the spatial map is not being updated. There is the spatial memory feature that can be used to save an area file and reload the same spatial map for relocalization. However, it seems that after reloading this spatial map, it is still being updated. Would it be possible to fix this loaded spatial map and make it static so it is only used for localization?
Thank you for your response. My apologies if I’m using the wrong terminology.
What we would like to do is to first generate an area map in a preprocessing step and then in a second phase reload the map and solely apply localization without updating the area map. It looks very much like what is explained in the doc, however in our experiments we have the feeling that the area map is still being updated with new information.
Is there any option to disable this and keep the area map static? Or is this something that can/will be added in the future?
If the area map continues to update, I don’t fully understand how the tracking of multiple devices in the same space works: Area Memory and Relocalization | Stereolabs
For example, if both cameras start from the same area file and both cameras are updating the area map with new information, then over time inconsistencies between both systems will be introduced.
@Nick when you start the positional tracking module with an existing area memory, the module updates it internally to introduce the eventual modifications of the environment, and improve the localization. When you stop the module the new updated area memory is not saved on the same file if you do not pass the filename as a parameter of the disablePositionalTracking function: https://www.stereolabs.com/docs/api/classsl_1_1Camera.html#ab30eefa02528b9c95d3a44aedb35ae2c
We consider introducing it in future versions of the SDK
Do you find a way to prevent the memory_area from being updated during the operation?
I know the memory_area is being updated over time, but don’t know how exactly the update process is. Does it replace the old feature of the environment with the new feature or keep adding new features into the existing environment?