Added async compatibility with sounds, and have sounds wait until the "callback" of resetting the robot's sound index to -1 before playing the next sound.
This fixes the error of some sounds getting skipped in EUP and also makes sure sounds don't overlap with each other.
Added async compatibility with sounds, and have sounds wait until the "callback" of resetting the robot's sound index to -1 before playing the next sound.
This fixes the error of some sounds getting skipped in EUP and also makes sure sounds don't overlap with each other.
Before (current version in prod): https://drive.google.com/file/d/1G9AQQykThLrUwOjrecW82FC00d6pF9Bv/view?usp=sharing With changes: https://drive.google.com/file/d/1Wc1AjrxTthAiKMg0Ed10lITk0fMAWKi8/view?usp=sharing