作者:肥姐PK老赖 | 来源:互联网 | 2024-11-06 11:06
Data that is sent to Python API is uncompressed, therefore connecting to a remote server running Car
Data that is sent to Python API is uncompressed, therefore connecting to a remote server running Carla requires a lot of bandwidth. In particular uncompressed camera data are very large, for example a 1920x1080 image occupies 8.3Mb.
It would be useful to have some compression before sending the data. A few ideas:
- Don't send unrequired channels, for example the A channel when it is not used
- Use lossless image compression on the single frames (for example PNG)
- Use lossless video compression
该提问来源于开源项目:carla-simulator/carla
The alpha channel is probably not necessary ; not sending it at all sounds like a good idea of improvement. The first thing the pygame-based carla clients do, is to strip that channel off (and it costs 3 ms per frame).