qisdk / com.aldebaran.qi.sdk.object.humanawareness / EngageHuman

EngageHuman

interface EngageHuman

Action to make the robot look at a human and keep eye contact.

Since
2

Types

Async

interface Async

OnEngagementPolicyChangedListener

Listener for engagementPolicy property changed event

interface OnEngagementPolicyChangedListener

OnHumanIsDisengagingListener

Listener for humanIsDisengaging signal

interface OnHumanIsDisengagingListener

OnHumanIsEngagedListener

Listener for humanIsEngaged signal

interface OnHumanIsEngagedListener

OnStartedListener

Listener for started signal

interface OnStartedListener

Functions

addOnEngagementPolicyChangedListener

Add a property changed listener for engagementPolicy

abstract fun addOnEngagementPolicyChangedListener(onEngagementPolicyChangedListener: OnEngagementPolicyChangedListener!): Unit

addOnHumanIsDisengagingListener

Add a OnHumanIsDisengagingListener

abstract fun addOnHumanIsDisengagingListener(onHumanIsDisengagingListener: OnHumanIsDisengagingListener!): Unit

addOnHumanIsEngagedListener

Add a OnHumanIsEngagedListener

abstract fun addOnHumanIsEngagedListener(onHumanIsEngagedListener: OnHumanIsEngagedListener!): Unit

addOnStartedListener

Add a OnStartedListener

abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Unit

async

abstract fun async(): Async!

getEngagementPolicy

Exposes the property engagementPolicy value

abstract fun getEngagementPolicy(): EngagementPolicy!

removeAllOnEngagementPolicyChangedListeners

Remove all engagementPolicy changed listeners

abstract fun removeAllOnEngagementPolicyChangedListeners(): Unit

removeAllOnHumanIsDisengagingListeners

Remove all OnHumanIsDisengagingListener

abstract fun removeAllOnHumanIsDisengagingListeners(): Unit

removeAllOnHumanIsEngagedListeners

Remove all OnHumanIsEngagedListener

abstract fun removeAllOnHumanIsEngagedListeners(): Unit

removeAllOnStartedListeners

Remove all OnStartedListener

abstract fun removeAllOnStartedListeners(): Unit

removeOnEngagementPolicyChangedListener

Remove a property changed listener for engagementPolicy

abstract fun removeOnEngagementPolicyChangedListener(onEngagementPolicyChangedListener: OnEngagementPolicyChangedListener!): Unit

removeOnHumanIsDisengagingListener

Remove a OnHumanIsDisengagingListener

abstract fun removeOnHumanIsDisengagingListener(onHumanIsDisengagingListener: OnHumanIsDisengagingListener!): Unit

removeOnHumanIsEngagedListener

Remove a OnHumanIsEngagedListener

abstract fun removeOnHumanIsEngagedListener(onHumanIsEngagedListener: OnHumanIsEngagedListener!): Unit

removeOnStartedListener

Remove a OnStartedListener

abstract fun removeOnStartedListener(onStartedListener: OnStartedListener!): Unit

run

Engage the target human with the given policy. The method returns when the robot lost sight of the human. The signal humanIsEngaged is raised when the robot starts to engage the human.

abstract fun run(): Unit

setEngagementPolicy

Set the property engagementPolicy value

abstract fun setEngagementPolicy(engagementPolicy: EngagementPolicy!): Unit

setOnEngagementPolicyChangedListener

Set a property changed listener for engagementPolicy

abstract fun setOnEngagementPolicyChangedListener(onEngagementPolicyChangedListener: OnEngagementPolicyChangedListener!): Unit

setOnHumanIsDisengagingListener

Set a OnHumanIsDisengagingListener

abstract fun setOnHumanIsDisengagingListener(onHumanIsDisengagingListener: OnHumanIsDisengagingListener!): Unit

setOnHumanIsEngagedListener

Set a OnHumanIsEngagedListener

abstract fun setOnHumanIsEngagedListener(onHumanIsEngagedListener: OnHumanIsEngagedListener!): Unit

setOnStartedListener

Set a OnStartedListener

abstract fun setOnStartedListener(onStartedListener: OnStartedListener!): Unit