qisdk / com.aldebaran.qi.sdk.object.actuation / LookAt

LookAt

interface LookAt

Action to look at and track a target. The target is represented by a frame, and the robot will look at the origin of that frame. In practice, the action will make the robot move so that the x-axis of the gaze frame gets aligned with the origin of the target frame. The robot will track the target until the run is canceled.

Since
1

Types

Async

interface Async

OnPolicyChangedListener

Listener for policy property changed event

interface OnPolicyChangedListener

OnStartedListener

Listener for started signal

interface OnStartedListener

Functions

addOnPolicyChangedListener

Add a property changed listener for policy

abstract fun addOnPolicyChangedListener(onPolicyChangedListener: OnPolicyChangedListener!): Unit

addOnStartedListener

Add a OnStartedListener

abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Unit

async

abstract fun async(): Async!

getPolicy

Exposes the property policy value

abstract fun getPolicy(): LookAtMovementPolicy!

removeAllOnPolicyChangedListeners

Remove all policy changed listeners

abstract fun removeAllOnPolicyChangedListeners(): Unit

removeAllOnStartedListeners

Remove all OnStartedListener

abstract fun removeAllOnStartedListeners(): Unit

removeOnPolicyChangedListener

Remove a property changed listener for policy

abstract fun removeOnPolicyChangedListener(onPolicyChangedListener: OnPolicyChangedListener!): Unit

removeOnStartedListener

Remove a OnStartedListener

abstract fun removeOnStartedListener(onStartedListener: OnStartedListener!): Unit

run

Run the action on the robot. The started() signal is emitted when the action starts.

abstract fun run(): Unit

setOnPolicyChangedListener

Set a property changed listener for policy

abstract fun setOnPolicyChangedListener(onPolicyChangedListener: OnPolicyChangedListener!): Unit

setOnStartedListener

Set a OnStartedListener

abstract fun setOnStartedListener(onStartedListener: OnStartedListener!): Unit

setPolicy

Set the property policy value

abstract fun setPolicy(policy: LookAtMovementPolicy!): Unit