Skip to content
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

Socket message transfer very slow #267

Open
Leviathan321 opened this issue Apr 27, 2024 · 2 comments
Open

Socket message transfer very slow #267

Leviathan321 opened this issue Apr 27, 2024 · 2 comments

Comments

@Leviathan321
Copy link

Leviathan321 commented Apr 27, 2024

I am doing research with beamng and I am using basically a driving controller which has to retrieve the camera images to process and to calculate driving commands (similiar to here: https://github.com/sbft-cps-tool-competition/cps-tool-competition).

However, I am facing the problem that retreiving the sensor data and as well other state information takes roughly 0.20 s (BeamNG 0.26.2).

It looks to me that the socket communication is very slow. Did anyone had similar issues before?

@aivora-beamng
Copy link
Contributor

Hi, 0.2s seems very slow indeed, are you creating multiple large-resolution camera sensors? If not, maybe you have some software installed that filters/slows the connection? If you share your script (here or to [email protected]), we can try to run it and test its performance at our machine.

@Leviathan321
Copy link
Author

Leviathan321 commented Apr 29, 2024

Actually, I am directly using the code from the competition here: https://github.com/sbft-cps-tool-competition/cps-tool-competition. I have tried the code on different machines. I was running it on

  1. Windows 11, with an Nvidia Geforce GTX 4090
  2. Windows 10, with an Nvidia Geforce 1080 Ti

There was a similar problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants