-
Notifications
You must be signed in to change notification settings - Fork 29
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
Trying to optimize images and increase FPS #7
Comments
Hi, I know it have some performance issue. i think its because of the image size. ill try to optimize it. |
I would like to solve this problem together with you.
or decrease
|
Yes, I test both with simulation data and with real sensors - but the slowdown is of the widget itself. and wokwi simulator There is real-time speed. I want to try to make a working widget on |
I tried this a long time ago using 1732827049812278.mp4It's possible to do with LVGL, but more learning is needed. If asked in the LVGL forum, maybe someone will help |
Wow, a small artificial horizon.
It seems to me that the |
Hello @nishad2m8 It's me again😃 As far as I understand, lvgl is also working on including You haven't looked into this, maybe using I once tried to animate a simple |
Good day @nishad2m8
I have a
360x360
round display controlled byesp32s3
viaQSPI
.To display an image, you need to include libraries
And also export bitmaps with
16-bit swap
.Studying your project
I changed it a little in
SLS
, removed images from export, left only three layers.The output I got was an image on my device that I had to zoom in a bit because the original images were created for a smaller display.
This video shows the work of graphics that move based on your code
animation_by_code.mp4
The next video shows the work based on data that is transmitted to the device via
UDP
viaWi-Fi
.data_from_udp.mp4
The second video has a slightly reduced
zoom
of the pictures, the effect on the display speed was checked - but no visible acceleration was noticed.You may notice that the graphics do not have time to render as the speed increases, and the images are broken and flickering.
I send data via
udp
bypython
script, and I tried both a specificIP
address and a broadcast address.Perhaps you can test your example further and optimize the images and
lvgl
methods to speed up the widget.I'd be happy to talk to you about this.
UPD.
I will attach project files for
PIO
andSLS
.PIO_att_indicator.zip
SLS_att_indicator.zip
The text was updated successfully, but these errors were encountered: