need help controlling dc motor to draw square

Hi everyone

I really need help on my project.

I need my robot to draw a square. My robot is a 2-armed robot using dc motor and encoder.

I have successfully read my encoder using interrupt and tested my motors move right and left for both arms.

I am confused in determining the inverse kinematics and the coding syntax so that the robot can draw a square.

Please help me.

Thank you

Evan

For inverse kinematics, Google is your friend. For help with the C++ syntax, look for 'C'/C++ tutorials; Google is your friend again.

If you really mean that you don't know where to start and want somebody to help you write the code, the Gigs and Collaborations section would be the place to ask.