reachy.parts.arm
¶
Arm part module.
Implements a Right and a Left Arm.
Module Contents¶
Classes¶
Arm abstraction class. |
|
Left Arm part. |
|
Right Arm part. |
Attributes¶
- reachy.parts.arm.hands¶
- class reachy.parts.arm.Arm(side, io, dxl_motors, hand)¶
Bases:
reachy.parts.part.ReachyPart
Arm abstraction class.
- Parameters
- Provides high-level access to:
ordered list of motors
forward and inverse kinematics
- fans¶
- teardown(self)¶
Clean up before closing.
- __repr__(self)¶
Arm representation.
- forward_kinematics(self, joints_position, use_rad=False)¶
Compute the forward kinematics of the Arm.
- Parameters
Note
the end effector will be the end of the Hand if one is attached.
- inverse_kinematics(self, target_pose, q0=None, use_rad=False, maxiter=10)¶
Approximate the inverse kinematics of the Arm.
- Parameters
target_pose (
ndarray
) – 4x4 homogeneous pose of the target end effector poseq0 (
ndarray
) – joint initial angle configurations (used for bootstraping the optimization)use_rad (bool) – whether or not to use radians for joints configuration
maxiter (int) – maximum number of iteration to run on the optimizer
Note
the end effector will be the end of the Hand if one is attached.
- enable_temperature_monitoring(self)¶
Enable the automatic motor cooling procedure.
The specified motors temperature will be watched and when they reached a specific threshold, the fan will automatically be turned on. When the temperature goes below a lower threshold, they will turn off.
- disable_temperature_monitoring(self)¶
Disable the automatic motor cooling procedure.
- _temperature_monitoring(self)¶