This project involves a 3-DoF robot arm forward & inverse kinematics simulation and trajectory planning.
A 3-DoF robot arm is given as follows:
The FK is designed to simulate robot arm movement.
The IK is designed for task space trajectory tracking. In this project, we deployed both analytical and numerical IK. The analytical method gives lower tracking errors while requiring more computational resources. The numerical method runs faster while it may fall into a local optimum.
Position error for analytical IK
Position error for numerical IK
Trajectory planning involves three types of curves, which are cubic, quintic and parabolic. The higher order curve we use, the smooth the trajectory will be.