MoffKalast / vizanti

A mission planner and visualizer for controlling outdoor ROS robots.
https://wiki.ros.org/vizanti
BSD 3-Clause "New" or "Revised" License
133 stars 26 forks source link

Performance fixes #41

Closed MoffKalast closed 9 months ago

MoffKalast commented 9 months ago

I had initially assumed that JS Events that are being used to trigger rendering were set up to be async by design. This was the wrong assumption, and had resulted in long asynchronous tasks that really degraded mobile performance. Luckily it's an easy fix.

There's also some streamlining for fetching navsat tiles and what's basically a framerate limiter that prevents update spam when dragging the screen, and a web worker for processing map data which should reduce stutter.