PDA

View Full Version : Robitic Arm Simulation!



anuragjassal
09-15-2002, 07:47 AM
hi there !!

I am enggn. student in mechanical

I am working on a Robotic Arm Simulation
on VB6 n openGL tech. but i am having a few difficulties now
actually i have to make a robotic arm with maximum user control. If anyone who has worked on robotic arm simulation or something like that so i need ur help that would be ur kind gesture if u could provide me some help or referance of someon else who can help me out of this..
mine mail id is : anuragjassal@rediffmail.com
i will wait for ur reply...

thanx in advance... http://www.opengl.org/discussion_boards/ubb/smile.gif

nexusone
09-15-2002, 08:49 AM
Arm movement should look something like this:


glPushMatrix();
gltranslate
glrotate
draw_arm_base();
glPushMatrix(); //First joint
gltranslate
glrotate
draw_first_joint();
glPushMatrix()
gltranslate
glrotate
draw_second_joint();
glPopMatrix();
glPopMatrix();
glPopMatrix();

nest more glPush/pop for more joints.

hope this helps


Originally posted by anuragjassal:
hi there !!

I am enggn. student in mechanical

I am working on a Robotic Arm Simulation
on VB6 n openGL tech. but i am having a few difficulties now
actually i have to make a robotic arm with maximum user control. If anyone who has worked on robotic arm simulation or something like that so i need ur help that would be ur kind gesture if u could provide me some help or referance of someon else who can help me out of this..
mine mail id is : anuragjassal@rediffmail.com
i will wait for ur reply...

thanx in advance... http://www.opengl.org/discussion_boards/ubb/smile.gif

ioquan
09-16-2002, 03:32 PM
I dont know exactly what you want your robotic arm to do, but the problem is simlar to skeletal animation. Look on rsn.gamedev.net for the skeletal modelling tutorial.

Btw, I wouldnt use all that glPush/Pop stuff. IMO, its not a good idea to mix up all your drawing stuff with your scene updates.

[This message has been edited by ioquan (edited 09-16-2002).]