forked from swri-robotics/mapviz
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite tile_map loading to be more reliable
This changes how the tile_map plugin handles making network requires for tiles. It will now: - Use thread conditions to prompt loading rather than spinning - Prioritize loading tiles in the visible area - Retry a failed network request up to 5 times - Not discard tile requests if there are more than 100 in the queue This changes should significantly reduce (if not completely eliminate) the number of tiles that fail to load and hopefully make tiles within the visible area appear faster when there are many in the queue. Fixes swri-robotics#342 and swri-robotics#421.
- Loading branch information
Showing
2 changed files
with
87 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters