qisdk / com.aldebaran.qi.sdk.object.actuation / Actuation / Async / makeCroppedAnimation

makeCroppedAnimation

abstract fun makeCroppedAnimation(anim: Animation!, beginTime: Long!, endTime: Long!): Future<Animation!>!

Create a new Animation object on the robot, by cropping an existing animation.

Parameters

anim - Animation!: the original animation.

beginTime - Long!: the begin time of the cropped animation. Shall be non-negative. A zero value will preserve the beginning of the animation.

endTime - Long!: the end time of the cropped animation. Any value greater than anim.duration()-beginTime will preserve the end of the animation.

Return
Future<Animation!>!: An Animation object, result of the cropping from beginTime to endTime.

Since
1