elvout / cs393r

CS 393R Graduate Autonomous Robots, Fall 2021 | Autobots
0 stars 0 forks source link

Rework SLAMBelief Async Tasks #84

Closed elvout closed 2 years ago

elvout commented 2 years ago

In SLAM::ObserveLaser, we push raster map evaluations to an async thread pool under the assumption that the evaluations will conclude before an object on the stack is destroyed. However, this assumption does not always hold, especially when constructing maps of dense environments, causing segmentation faults.

The SLAMBelief class can be reworked to asynchronously evaluate these tasks at construction and store results in shared_futures.

elvout commented 2 years ago

I believe increasing the standard deviation of the sensor also causes segmentation faults.