This pull request adds a new feature that enables users to pause, resume, and stop the running scenario using a set of keyboard shortcuts. The keyboard_listener.py file provides a general functionality for recording keyboard shortcuts. The file single_2lanefree_carla.py is an example of how to use these shortcuts. To pause and resume the program, the user can use the 'p' key, and to exit the program, the 'ESC' key can be used.
This pull request adds a new feature that enables users to pause, resume, and stop the running scenario using a set of keyboard shortcuts. The keyboard_listener.py file provides a general functionality for recording keyboard shortcuts. The file single_2lanefree_carla.py is an example of how to use these shortcuts. To pause and resume the program, the user can use the 'p' key, and to exit the program, the 'ESC' key can be used.