hri.voice.Voice

class hri.voice.Voice(id, tf_buffer, reference_frame)

Represents a detected voice.

__init__(id, tf_buffer, reference_frame)

Methods

__init__(id, tf_buffer, reference_frame)

close()

transform([from_frame])

Returns a ROS TransformStamped of the voice, from the from_frame reference basis.

Attributes

valid

Returns True if this voice still exists (and thus is valid).

id

the voice ID

ns

the full namespace of the voice

frame

the voice tf frame name

incremental_speech

last incrementally recognised speech -- that string might entirely change, based on the what the ASR recognised

speech

last recognised speech, if available

is_speaking

whether speech is detected for this voice