ETS2Autopilot
ETS2Autopilot copied to clipboard
TypeError: an integer is required (got type NoneType)
C:\Users\blusc\Downloads\ETS2Autopilot-master>python\python.exe start_gui.py
Loading...
Done!
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 914, in _bootstrap_inner
File "C:\Users\blusc\Downloads\ETS2Autopilot-master\thread_controller.py", line 30, in run
joystick = pygame.joystick.Joystick(self.controller)
TypeError: an integer is required (got type NoneType)
Traceback (most recent call last):
File "C:\Users\blusc\Downloads\ETS2Autopilot-master\UI\main.py", line 163, in enter_mode
self.thread_autopilot = AutopilotThread(self.ui.statusbar, self.thread_controller, self.ui.steering_wheel, self.ui.image_front)
File "C:\Users\blusc\Downloads\ETS2Autopilot-master\thread_autopilot.py", line 38, in __init__
self.joystick = pygame.joystick.Joystick(Settings().get_value(Settings.CONTROLLER))
TypeError: an integer is required (got type NoneType)
Press Enter or Esc to close console...
You have to open the settings and set everything up first. The first error message can be ignored.
which file is the settings?
You don't have to edit files. The settings are done in the GUI. You can open the settings windows in the menu File > Settings.
And how am i supposed to know what to enter there? It doesnt even have tooltips >.<
Have you solved it at last?@BrunoTh
Nope, i never got a response
I tried this project, but I didn't run it successfully. If there was a picture and text tutorial, it would be great @Bluscream
same
@Bluscream I use paddlepaddle deep learning framework to achieve driverless driving in this game. It may help you~ https://github.com/xmy0916/EuroTruckSelfDriver
Is there a non-chinese version available?
When I have finished the whole project, I will write a detailed English description. @Bluscream
And how am i supposed to know what to enter there? It doesnt even have tooltips >.<
I found it, File > Settings