Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite tile_map loading to be more reliable (Kinetic) #428

Merged

Conversation

pjreed
Copy link
Contributor

@pjreed pjreed commented Sep 12, 2016

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 #342 and #421.

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.
@pjreed pjreed merged commit 79ae266 into swri-robotics:kinetic-devel Sep 12, 2016
@pjreed pjreed deleted the 421/tile-map-loading-kinetic branch September 29, 2017 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant