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

Frame

interface Frame

Object representing the location associated with an object or a person. This location is likely to change over time, for example when a person moves. Transforms can be computed out of two frames, at a given time, to get the relative position and orientation between two objects. If the robot is localized using external sensors, the transform between two frames can be computed with odometry drift compensation.

Since
1

Types

Async

interface Async

OnUpdatedListener

Listener for updated signal

interface OnUpdatedListener

Functions

addOnUpdatedListener

Add a OnUpdatedListener

abstract fun addOnUpdatedListener(onUpdatedListener: OnUpdatedListener!): Unit

async

abstract fun async(): Async!

computeTransform

Compute the last known transform between this frame and the given base frame.

abstract fun computeTransform(baseFrame: Frame!): TransformTime!

computeTransformWithRobotDriftCompensation

Compute the last known transform between this frame and the given base frame. The result will compensate the odometry drift if the robot is localized in the environment.

abstract fun computeTransformWithRobotDriftCompensation(base: Frame!): TransformTime!

makeAttachedFrame

Create a frame representing the location of an object, and initialize it at the given transform with respect to current frame. The attached frame will move with its parent.

abstract fun makeAttachedFrame(tf: Transform!): AttachedFrame!

removeAllOnUpdatedListeners

Remove all OnUpdatedListener

abstract fun removeAllOnUpdatedListeners(): Unit

removeOnUpdatedListener

Remove a OnUpdatedListener

abstract fun removeOnUpdatedListener(onUpdatedListener: OnUpdatedListener!): Unit

setOnUpdatedListener

Set a OnUpdatedListener

abstract fun setOnUpdatedListener(onUpdatedListener: OnUpdatedListener!): Unit