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)
Fixes https://github.com/ros-drivers/audio_common/issues/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
)