next up previous
Next: Elbow and Wrist of Up: Assessment Previous: Bingham's correlation Lab

Extensions of the Robot's Arm Program

We can extend the solution method to solve for the X and Y coordinate position of the robotic wrist joint. Once the position of the elbow joint is known, two more pieces of information are required to locate the wrist:

  1. The length of the robotic forearm.
  2. The angle of the robotic elbow joint.

The rbtjnts.cpp program can also be modified to compute the wrist position. First of all appropriate variable declarations need to be added to the program near the declarations already in place. The new variable declarations would probably look something like this:

      float forearml;
      float elbowd, elbowr;
      float wristx, wristy;

where:

We must not forget to include comments in the program that describe these new variables.


next up previous
Next: Elbow and Wrist of Up: Assessment Previous: Bingham's correlation Lab
J. C. Diaz 2004-01-19