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

holdByDegreesOfFreedom

abstract fun holdByDegreesOfFreedom(context: RobotContext!, constrainedDegreesOfFreedom: MutableList<DegreeOfFreedom!>!): 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
AutonomousAbilityHolder!: An AutonomousAbilityHolder holding the constraints for the given degrees of freedom.

Since
6