is_rotational_joint()
  • 1 Minute to read

is_rotational_joint()


Article summary

Retrieves If a joint in a given arm on the current robotic device is rotational.

Reference

Arguments

ArgumentsTypeDescription
armstrName of the arm .
jointstrName of the joint.

Return

TypeDescription
boolTrue if it Is a rotational joint.

Exceptions

  • RayaArmsException
  • RayaArmsInvalidArmOrGroupName
  • RayaArmsInvalidJointName

See the complete list of arms exceptions

Usage example

...
self.arms = self.enable_controller('arms')
...
is_rotational = self.arms.is_rotational_joint('left_arm' , 'arm_left_shoulder_rail_joint')
self.log.info(is_rotational)
...

Output:

False

Was this article helpful?