Comments (8)
The game is running perfectly when python script is executing.
So simplest solution that worked for me is add time.sleep(99999)
to the end of the main python script.
from beamngpy.
Hi,
for future reference "https://projects.beamng.com/projects/research/files is empty" has always been the case. The correct files are under: https://projects.beamng.com/projects/research/repository/show/trunk
If BeamNG.research starts, then you have the files that you need.
Regarding "055.442|E|GELua.ResearchCom|Error reading from socket: closed", it's a wild guess but did you check if you have firewall rules which prevent opening sockets from python?
from beamngpy.
Hey, thanks for the answer
At the bottom of the beamng research homepage under DOWNLOAD it has a link to https://projects.beamng.com/projects/research/files
...so that should maybe be changed
I will check my firewall
from beamngpy.
Excuse me. I encountered the same problem, may i ask whether you have solved it?
from beamngpy.
from beamngpy.
I tried
1- turning off firewalls
2- running it as administrator
3- freeing all ports
None of above worked
from beamngpy.
Hi @oooooverflow and @autonomobil, I solved the problem using the windows powershell. it does not work if you run it from cmd.
If you write the commands on powershell it works perfectly fine!
from beamngpy.
@vladimirwest Can you please describe where exactly did you add time.sleep()
?
I tried adding it inside def main()
function, but still it is not working.
from beamngpy.
Related Issues (20)
- How to alleviate distortion HOT 1
- Unable to find a way to get the car in free roam HOT 2
- Detecting and reconnecting to new player vehicle HOT 2
- why my vehicle don't move? HOT 7
- BeamNG crashes with unavailable rendering device message. HOT 6
- How to hide vehicles before shooting? HOT 3
- ScenarioObject name cannot be Empty or None HOT 4
- Documentation car call names and maps call names HOT 1
- How to increase the randomness of traffic flow? HOT 1
- The ai model that beamng provides for user can avoid background vehicle? HOT 1
- Get annotated objects in map
- camera doern't work in windows os,beamngpy=1.28,beamng.tech=0.31.3.0 HOT 1
- Socket message transfer very slow HOT 2
- Can the offical api provide user with the function that exports the video that vehicle runs on the road? HOT 1
- How to properly render Lane Markings HOT 1
- The level template_tech is missing the road_invisible material HOT 1
- I dont find Road api's specific parameter options and traffic light api in BeamNGpy documentation.
- Misaligned timestamps between Timer sensor and Automated Sensors
- Setting vehicle part config causes downstream `ConnectionRefusedError: [WinError 10061]`
- Running BeamNG remotely: Error when running BeamNG via Remote Desktop Control Connection, no start with SSH
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beamngpy.