generalizedInverseKinematics
Create multiconstraint inverse kinematics solver
Description
ThegeneralizedInverseKinematics
System Object™使用一组运动学约束来计算由A指定的刚体树模型的联合配置rigidBodyTree
目的。ThegeneralizedInverseKinematics
object uses a nonlinear solver to satisfy the constraints or reach the best approximation.
Specify the constraint types,ConstraintInputs
, before calling the object. To change constraint inputs after calling the object, call释放(
.gik
)
将约束输入指定为约束对象并调用generalizedInverseKinematics
这些对象传递到其中。要创建约束对象,请使用以下对象:
If your only constraint is the end-effector position and orientation, consider using反向基础学
as your solver instead.
有关封闭形式的分析逆运动溶液,请参见金宝搏官方网站分析蛋白酶
.
解决广义的逆运动学约束:
Create the
generalizedInverseKinematics
对象并设置其属性。用参数调用对象,就好像它是一个函数一样。
To learn more about how System objects work, see什么是系统对象?
创建
Syntax
Description
returns a generalized inverse kinematics solver with no rigid body tree model specified. Specify agik
=概括性基础化学rigidBodyTree
model and theConstraintInputs
使用此求解器之前的属性。
returns a generalized inverse kinematics solver with the rigid body tree model and the expected constraint inputs specified.gik
=概括的inverseversematics('RigidBodyTree
',rigidbodytree,'ConstraintInputs
',inputTypes)
返回一个广义的逆运动求解器,每个指定的属性名称将每个指定的属性名称设置为一个或多个gik
=概括性基础化学(姓名,Value
)姓名,Value
pair arguments.姓名
必须出现在单引号中(''
)。您可以指定几个名称-值对arguments in any order as姓名1,Value1,...,NameN,ValueN
.
特性
Usage
Description
[
找到联合配置,configsol
,solInfo
] = gik(initialguess
,约束,...,约束objn
)configsol
,基于最初的猜测和约束描述对象的逗号分隔列表。约束描述的数量取决于ConstraintInputs
property.
Input Arguments
输出参数
Object Functions
To use an object function, specify the System object as the first input argument. For example, to release system resources of a System object namedobj
, use this syntax:
释放(obj)