This project implements forward and inverse kinematics for a 4-DOF robotic arm using Python. It includes two main scripts:
forward_kinematics.py
: Calculates the end-effector position based on given joint angles using the Denavit-Hartenberg convention.inverse_kinematics.py
: Determines the joint angles required to achieve a specified end-effector position.
- Forward Kinematics: Computes the position and orientation of the robotic arm's end effector from given joint angles.
- Inverse Kinematics: Calculates the necessary joint angles to place the end effector at a desired position.
- Python 3.x
- NumPy library
- Clone the repository:
git clone https://github.com/emmanueludehchukwudi/Robot-Arm-Kinematics.git
- Navigate to the project directory:
cd Robot-Arm-Kinematics
- Install Dependencies:
pip install numpy
You can modify the following parameters in the scripts:
Link lengths (a1, a2, a3) Initial joint angles (T1, T2, T3, T4 in forward_kinematics.py) Desired end-effector position (x, y, z in inverse_kinematics.py)
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes.
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature-branch).
- Open a pull request.
- NumPy for providing the numerical computation tools.