Open peredwardsson opened 1 year ago
It seems to have a strange case where the last localization id is in the optimized local graph but not in memory, causing the assert. Reference: https://github.com/introlab/rtabmap/blob/95e6a9f03936697a60be2c26e119c519e47c11f5/corelib/src/Rtabmap.cpp#L4055-L4080
I tried switching slam/localization modes multiple times without reproducing the assert. You could launch rtabmap node with --udebug
argument to get debugging logs.
Hey, this is an old thread, but did you figure out any fix for this @peredwardsson? I'm getting the same crash on switching to localization mode.
Rtabmap is ticking along happily making a nice map of my office. I get happy with the map, decide to turn off mapping and just do localization, and this happens.
Running ROS2 Humble with rtabmap & rtabmap_ros versions 20.23-humble. Issue is intermittent, unfortuntately. Restarting rtabmap_ros could load the db fine, and i could then run the service. But this has happened a few times. Can I gather some logs from the occassion when it breaks for troubleshooting purposes?