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:
Return type:

Tuple[float, float]