qisdk / com.aldebaran.qi.sdk.object.actuation / Localize / Async

Async

interface Async

Functions

addOnStartedListener

Add a OnStartedListener

abstract fun addOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

addOnStatusChangedListener

Add a property changed listener for status

abstract fun addOnStatusChangedListener(onStatusChangedListener: OnStatusChangedListener!): Future<Void!>!

getStatus

Exposes the property status value

abstract fun getStatus(): Future<LocalizationStatus!>!

removeAllOnStartedListeners

Remove all OnStartedListener

abstract fun removeAllOnStartedListeners(): Future<Void!>!

removeAllOnStatusChangedListeners

Remove all status changed listeners

abstract fun removeAllOnStatusChangedListeners(): Future<Void!>!

removeOnStartedListener

Remove a OnStartedListener

abstract fun removeOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

removeOnStatusChangedListener

Remove a property changed listener for status

abstract fun removeOnStatusChangedListener(onStatusChangedListener: OnStatusChangedListener!): Future<Void!>!

run

Start the localization process. It will run until the future returned by run() is canceled.

abstract fun run(): Future<Void!>!

runWithLocalizationHint

Start the localization process, and give it a hint about the robot current location relatively to the Map origin. The localization process will run until the future returned by runWithLocalizationHint() is canceled.

abstract fun runWithLocalizationHint(hint: Transform!): Future<Void!>!

setOnStartedListener

Set a OnStartedListener

abstract fun setOnStartedListener(onStartedListener: OnStartedListener!): Future<Void!>!

setOnStatusChangedListener

Set a property changed listener for status

abstract fun setOnStatusChangedListener(onStatusChangedListener: OnStatusChangedListener!): Future<Void!>!