Open ChrisSpinu opened 2 weeks ago
It's depend of map size or screen , for example I've a map with 368x320 aprox and render a map takes about 4 seconds reading from SD and display in screen the first time
It's depend of map size or screen , for example I've a map with 368x320 aprox and render a map takes about 4 seconds reading from SD and display in screen the first time
Thanks!
Hi, the first time to read the map blocks from the SD card it takes about 1 second each block (4x4 kms each block), in total a couple of seconds but only once. Then with the blocks in memory the render is very fast, when you move with the joystick there is no flickering. When you reach a block of the map that is not in memory, it take about 1 second more to read it from the SD card, but only once. You can have 6, 8 or more blocks in memory. It caches them and start reusing the space when there is no more memory available. That's why you need a MCU with 4MB of PSRAM.
Hi, the first time to read the map blocks from the SD card it takes about 1 second each block (4x4 kms each block), in total a couple of seconds but only once. Then with the blocks in memory the render is very fast, when you move with the joystick there is no flickering. When you reach a block of the map that is not in memory, it take about 1 second more to read it from the SD card, but only once. You can have 6, 8 or more blocks in memory. It caches them and start reusing the space when there is no more memory available. That's why you need a MCU with 4MB of PSRAM.
Wow! That's a really good performance imo. Thank you!
Hi, I'm trying to create a similar project to this one and I came here to ask a question( sorry if this wasn't the right place to do so ). What's the rendering speed for the map?
Thanks!