Using a SONAR detector at the base, we calculate the joint angles of the manipulator using kinematics.
In this application we implemented the "Proportional" component of PID, utilizing potentiometers as feedback when adjusting the joints to the proper angle.