qisdk / com.aldebaran.qi.sdk.object.autonomousabilities / AutonomousAbilities / Async / holdByDegreesOfFreedom

holdByDegreesOfFreedom

abstract fun holdByDegreesOfFreedom(context: RobotContext!, constrainedDegreesOfFreedom: MutableList<DegreeOfFreedom!>!): Future<AutonomousAbilityHolder!>!

Constrain all autonomous abilities on given degrees of freedom.

Parameters

context - RobotContext!: A qi.context.Context.

constrainedDegreesOfFreedom - MutableList<DegreeOfFreedom!>!: The list of the degrees of freedom to constrain.

Return
Future<AutonomousAbilityHolder!>!: An AutonomousAbilityHolder holding the constraints for the given degrees of freedom.

Since
6