A proof of concept for an approach to addressing issue https://github.com/autorope/donkeycar/issues/1097. This PR is not intended to be merged; it is here so that the changes to the code can be easily seen and commented upon.
Comments on the general approach to refactoring the game controller code should be addressed to the issue. Use this PR to make comments specific to the code.
running the POC
These instructions assume the developer installation has been done.
Change the working directory to the root of the donkeycar project folder and check out the branch 1097-refactor-game-controller-system
Activate the donkeycar environment, source env/bin/activate
to run the vehicle loop python3 donkeycar/parts/controller_events.py
to run the simulated loop with event logging: python3 donkeycar/parts/controller_events.py --vehicle=false
A proof of concept for an approach to addressing issue https://github.com/autorope/donkeycar/issues/1097. This PR is not intended to be merged; it is here so that the changes to the code can be easily seen and commented upon.
Comments on the general approach to refactoring the game controller code should be addressed to the issue. Use this PR to make comments specific to the code.