is_linear_joint()
- 1 Minute to read
is_linear_joint()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
Retrieves If a joint in a given arm on the current robotic device is linear.
Reference
Arguments
Arguments | Type | Description |
---|---|---|
arm | str | Name of the arm. |
joint | str | Name of the joint. |
Return
Type | Description |
---|---|
bool | True if it Is a linear 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_linear_joint('left_arm' , 'arm_left_shoulder_rail_joint')
self.log.info(is_rotational)
...
Output:
True
Was this article helpful?