Here’s the basic maths for mapping the claw into the accessible space above the x-axis. I’ll write this up properly in Mathematica later, but it’s been a bit of a long day.

Mapping the robot arm into the upper quadrant - worked example