hri.person.Person

class hri.person.Person(id, tf_buffer, reference_frame)

Represents a known person (that can be currently tracked or not).

A Person instance gives access to its corresponding Face, Body and Voice if 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

valid

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

id

the person ID

ns

the person namespace

frame

the TF frame of the person

face

access to the person's face (Face instance), if available

body

access to the person's body (Body instance), if available

voice

access to the person's voice (Voice instance), if available

anonymous

whether or not this person is anonymous

engagement_status

current estimated level of engagement

alias

if non-null, the person this person is an alias of

loc_confidence

level of confidence of the person's location (0.0: no confidence, 1.0: person currently seen)