Hi There,
I'm wondering if anyone has found a good library to determine motor angles to move two connected arms, eg when motor A controls the direction of Arm A, and Motor B is at the end of Arm A and controls the direction of Arm B, and there's a {hand} at the end:
Motor(A)[-----------armA------------------[Motor(B)]------------armB---------------]{hand}
say I start with motor A at -45degrees, and motor B at +45 degrees ... and I want to move the hand upwards, straight upwards ... without any extension in the arc (fromM(A) to {hand}) ... The Arms are the hypotenuses, and the angles of the motors can use standard trigonometry and geometry, but the logic of whether to move MotorA slower or faster, and MotorB slower or faster ... quickly becomes quite complicated.
Has anyone used a library to make this easier?