jsk-ros-pkg / jsk_3rdparty

42 stars 60 forks source link

[ros_speech_recognition] Return if result is empty #443

Closed nakane11 closed 1 year ago

nakane11 commented 1 year ago

Speech recognition result came to return empty list [] by https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/434 and it causes the following error.

[ERROR] [1678890951.445378]: Unexpected error: (<type 'exceptions.TypeError'>, TypeError('list indices must be integers, not str',), <traceback object at 0x7f5168a77f00>) I fixed it.