I am working on an electronics project which is sort of an auto-correcting two-axis gimbal table. There are two degrees of freedom, being two square frames - one can rotate on a pitch or y-axis, the outer frame can rotate about a roll or x-axis. There is a third outer frame which is fixed to a...