pylabrobot.formulatrix.mantis.driver.arm_kinematics.compute_joint_angles#
- pylabrobot.formulatrix.mantis.driver.arm_kinematics.compute_joint_angles(*, location: MantisArmCoordinate) Tuple[float, float]#
The two links’ angles that put the head at a location’s x and y: inverse kinematics.
The angles are the geometry’s own, before a unit’s motor offsets.
- Parameters:
location (MantisArmCoordinate) – the head’s position in the arm frame; its z is not used.
- Raises:
MantisKinematicsError – if (x, y) is out of either link pair’s reach or on a base.
ValueError – if x or y is None.
- Return type: