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

EnforceTabletReachability

interface EnforceTabletReachability

Action to limit robot movements in order to ease user interaction on the tablet. The robot will put the tablet at a suitable position then emit the positionReached() signal, and prevent further leg and base movements, while also ensuring that the arms movements do not bring them in front of the tablet.

Since
3

Types

Async

interface Async

OnPositionReachedListener

Listener for positionReached signal

interface OnPositionReachedListener

OnStartedListener

Listener for started signal

interface OnStartedListener

Functions

addOnPositionReachedListener

Add a OnPositionReachedListener

abstract fun addOnPositionReachedListener(onPositionReachedListener: OnPositionReachedListener!): Unit

addOnStartedListener

Add a OnStartedListener

abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Unit

async

abstract fun async(): Async!

removeAllOnPositionReachedListeners

Remove all OnPositionReachedListener

abstract fun removeAllOnPositionReachedListeners(): Unit

removeAllOnStartedListeners

Remove all OnStartedListener

abstract fun removeAllOnStartedListeners(): Unit

removeOnPositionReachedListener

Remove a OnPositionReachedListener

abstract fun removeOnPositionReachedListener(onPositionReachedListener: OnPositionReachedListener!): 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. The positionReached() signal is emitted when the tablet is in position. Throw if the arms are initially in front of the tablet, or are later moved in front of the tablet.

abstract fun run(): Unit

setOnPositionReachedListener

Set a OnPositionReachedListener

abstract fun setOnPositionReachedListener(onPositionReachedListener: OnPositionReachedListener!): Unit

setOnStartedListener

Set a OnStartedListener

abstract fun setOnStartedListener(onStartedListener: OnStartedListener!): Unit