Hello,
I have a block of code similar to the one listed below, and it is supposed to trigger skills one after the other. However, without something like time.sleep(x), the skills are triggered at the same time, and I was wondering if there is a better way of getting the system to wait, ie., without having to hardcode in a specific duration of time.
for i, message in enumerate(messages):
self.speak(f"Processing request {i + 1}", wait=True)
self.bus.emit(
Message("recognizer_loop:utterance", {"utterances": [message]})
)
time.sleep(10)
Thank you for your time!