cartographer_ros/cartographer_rviz
Juraj Oršulić 319be1ad8c Fix race condition (#293)
* Change mutex locker scope in SubmapsDisplay::update()

This avoids the potential unsafe situation where someone (for example,
SubmapsDisplay::Reset()) clears the trajectories vector, but update()
uses it after the mutex has been released, since the scope of the lock
was only in the try block.

Also resolve a miscellaneous signed-unsigned warning.

* Make DrawableSubmap destructor safer

Make the DrawableSubmap destructor wait for the asynchronous fetch
thread to finish - otherwise, it's possible to crash rviz by rapidly
pressing the enable checkbox of the submaps plugin. Eventually the race
condition will be triggered, and the fetch thread will write into a
deleted DrawableSubmap object, which causes a crash.
2017-03-31 16:36:47 +02:00
..
cartographer_rviz Fix race condition (#293) 2017-03-31 16:36:47 +02:00
ogre_media/materials Pulls out RViz support into a separate package. (#66) 2016-09-20 10:30:21 +02:00
CMakeLists.txt Enable adding as a CMake subproject (#262) 2017-02-09 15:58:35 +01:00
package.xml Adds Kinetic to build matrix. (#222) 2016-12-09 15:24:06 +01:00
rviz_plugin_description.xml Remove use of google_library and google_test. (#234) 2016-12-20 16:20:27 +01:00