# Robot arm bending

## Main Question or Discussion Point

Hi guys, I'm doing a robotics project that requires me to compensate for the bending of the arm due to an end weight. I can calculate the deflection at the end of the arm for a given weight e.g.

End link horizontal (90 degrees), end weight = 1000g, deflection = 10mm
From this i can calculate the angle down to the deflected end point eg 3 degrees. Now the problem comes when i try to compensate for this deflection to get the end point to where i actually need it to be. Simply aiming the arm 3 degrees higher won't work as changing the beam angle changes the amount of deflection at it's end!

So basically given a target angle, say 90 degrees i need to know what actual angle to put the beam at so that when the deflection is applied the end point is at 90 degrees. But this requires me to know the beam angle to calculate the deflection to find the beam angle?

This is confusing me greatly and any mathematical insights would be greatly appreciated!