Create a keyboard listener under path opencda/scenario_testing/utils/keyboard_listener.py.
In the file opencda/scenario_testing/single_2lanefree_carla.py, we incorporated pause and exit functions for testing.
User can press p to pause and resume the demonstration and press esc to end the program.
Create a keyboard listener under path opencda/scenario_testing/utils/keyboard_listener.py. In the file opencda/scenario_testing/single_2lanefree_carla.py, we incorporated pause and exit functions for testing. User can press p to pause and resume the demonstration and press esc to end the program.