hri.person.Person¶
- class hri.person.Person(id, tf_buffer, reference_frame)¶
Represents a known person (that can be currently tracked or not).
A
Personinstance gives access to its correspondingFace,BodyandVoiceif available.- __init__(id, tf_buffer, reference_frame)¶
Methods
__init__(id, tf_buffer, reference_frame)close()engagement_level()on_alias(msg)on_anonymous(msg)on_body_id(msg)on_engagement_status(msg)on_face_id(msg)on_loc_confidence(msg)on_voice_id(msg)transform()Attributes
validReturns True if this person still exists (and thus is valid).
idthe person ID
nsthe person namespace
framethe TF frame of the person
faceaccess to the person's face (
Faceinstance), if availablebodyaccess to the person's body (
Bodyinstance), if availablevoiceaccess to the person's voice (
Voiceinstance), if availableanonymouswhether or not this person is anonymous
engagement_statuscurrent estimated level of engagement
aliasif non-null, the person this person is an alias of
loc_confidencelevel of confidence of the person's location (0.0: no confidence, 1.0: person currently seen)