Skip to content

mayanklonkar/Shape-Tracing-with-Robotic-Arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Shape Tracing with Robotic Arm

Description

In this project, we have created a manipulator of 3 Degree of Freedom which moves in X-Y plane within its workspace and draw shapes accordingly.

For our 3 DoF manipulator arm ,we studied and implemented the following-

  • Forward Kinematics
  • Inverse Kinematics
  • Trajectory Generation

Forward Kinematics

Forward kinematics is frequently used to know the position of end effector when we know the joint angles (theta1, theta2, and theta3).To calculate forward kinematics we can use trignometry or Denavit-Hartenberg parameters. For this project we have used D-H paramters and following steps were taken-

  • Found the D–H parameters of 3 DoF manipulator arm.
  • Using SymPy (Symbolic python) created generalised homogeneous matrix and then substituited DH parameters to obtain the transformation from frame 3 to frame 0.
  • Obtained the equations of x and y in terms of joint angles and other parameters which will be further used for inverse kinematics.

Inverse Kinematics

Inverse kinematics is about calculating the angles of joints (i.e. angles of the servo motors on the arm) that will cause the end effector of a manipulator arm to reach some given desired position (x, y, z) in 3D space. To do that, we approximated the angles using Newon-Raphson method.

  • Used the two equations obtained from Forward kinematics and third equation regarding the orientation of the end effector.
  • Initial guesses were made for theta1, theta2, and theta3.
  • Using appropriate first guess and the Newton-Raphson equation, the function value matrix and Jacobian matrix were obtained and hence obtaining joint angle values for a specific coordinate.

Following are the results we obtained

Trajectory Generation

Trajectory planning is moving from point A to point B while avoiding collisions over time. This can be computed in both discrete and continuous methods. Generating a trajectory is a crucial step in drawing shapes.

A desired trajectory is defined by some parameters, usually

• Initial and final point (point-to-point control).

• Finite sequence of points along the path (motion through sequence of points)

Inverse kinematics is calculated for these sequence of points to get trajectory of a line. The trajectory for various shapes such as square, rectangle, and ellipse can be calculated using the same methodology as the line.

Results

Following Results were obtained

  • Tracing a Line

  • Tracing a Rectangle

  • Tracing a Ellipse

  • Tracing IvLabs

About

Summer intern project at IvLabs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published