cartographer-project/cartographer

Clogged up work queue can delay destruction

Open

#1,721 opened on Jul 16, 2020

 (0 comments) (0 reactions) (0 assignees)C++ (2,188 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,665 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

If clients of libcartographer wish to abort all operations by destructing their Cartographer instance, this should happen immediately, and not result in blocking because of a filled up work queue in global SLAM. An example is the ROS node blocking on Ctrl-C, instead of exiting immediately.

Referencing closed https://github.com/cartographer-project/cartographer/pull/1446 as an incomplete proposal which needs further work.

Contributor guide