Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlitePlugin: Lazy loading default voice path #229

Merged
merged 1 commit into from Apr 11, 2023

Conversation

furushchev
Copy link
Contributor

Fixes #228

This PR is for reducing the time to import the python module by deferring the usage of the rospkg.Rospack.get_path to when it is needed for the first time.

It also fixes invalid code which refers to a member variable which does not exist. (self._default_voice)

@knorth55 knorth55 merged commit 19bcc23 into ros-drivers:master Apr 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Importing the sound_play module is slow
2 participants