pycarplay
pycarplay copied to clipboard
Alternative screen resolutions breaking ratio
When I setup 1280x720 or 960x540 (as recommended from official carplay guide) instread of
width: 800px;
height: 600px;
in server.py
this resolution changes screen ratio (see attach)
PS: resolution 800x600 works fine, but it too small for real usage.
There's a couple of other locations that also contain the 800/600 values. It should be a simple matter to move it all to a central location, I'll try and do that tonight.
It's my mistake, I found additional mention of screen resolution in several places:
protocol.py:105: self.width = 800
server.py:63:width: 800px;
teslabox.py:27: msg.x = int(x*10000/800)
I assume good solution to move const ouside sources (e.g. yaml/json config).
Just curious:is Carlinkit supports the non-standard screen ratio ? I mean 1280x480 10.25" LCD which uses in BMW IVI: