A simple implementation using opengl to drive a robotic arm, its functions are to pick up an object and move it to a certain position. The bellow image ilustrate the application.
To use you need opengl, glut and glu instaled
type: make download to install in your ubuntu/xubuntu
To compile type:
make compile
After compile you have to run then:
make run
So if you can erase .o object
make clean
Basic keyboard comands to use
1 and 2 first arm rotate in z axis
a and d first forearm rotate in y axis
w and s second forearm rotate in y axis
SPACE-BAR to close and open the hand
directional arrows and Home/end to change modeview