Skip to content

v1.0.10

Compare
Choose a tag to compare
@erkexzcx erkexzcx released this 10 Oct 18:11
· 20 commits to main since this release

Changes:

  • Added map.png_compression value in configuration file, defaults (or if does not exists) to 0 (BestSpeed).

This should be useful for those attempting to host this service on robot. For example, here is the approximate difference between these values:

# 0 - best speed
Image rendered! drawing:12ms, encoding:17ms, size:89.3kB

# 1 - best compression
Image rendered! drawing:12ms, encoding:192ms, size:77.8kB

# 2 - default compression
Image rendered! drawing:12ms, encoding:24ms, size:79.9kB

# 3 - no compression
Image rendered! drawing:12ms, encoding:2ms, size:2.0MB

As you can see, 3 shines here since it doesn't use much of CPU, which is useful when hosting on robot. Note that robot's wifi is simply 💩 and you should use 3 with min_refresh_int set to something at least 5s or more. It cannot instantly send 2mb of file due to a very slow robot's wifi.