GetJointLimits#

This command returns the current effective joint limits, i.e., the default joint limits or the user-defined limits if applied using the SetJointLimits command and enabled using the SetJointLimitsCfg command.

Syntax#

GetJointLimits(n)

Arguments#

  • n: joint number, an integer.

Responses#

  • [2090][n, qn,min, qn,max]

    • n: joint number, an integer;

    • qn,min: lower joint limit, in degrees;

    • qn,max: upper joint limit, in degrees.

Usage restrictions#

This command can be executed in any robot state.

Cyclic protocols#

In cyclic protocols, the command GetJointLimits is represented by DynamicDataTypeID 14 and 15. See Section 4.4.6 for more details.