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
validReturns True if this voice still exists (and thus is valid).
idthe voice ID
nsthe full namespace of the voice
framethe voice tf frame name
incremental_speechlast incrementally recognised speech -- that string might entirely change, based on the what the ASR recognised
speechlast recognised speech, if available
is_speakingwhether speech is detected for this voice