Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.27 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.27 KB

🦇 Inverse Kinematics by Bat Algorithm (BA)

Within this repository, the Bat Algorithm for solving IK (Inverse Kinematics) was implemented. The algorithm cannot scale with the speed of analytical or numerical methods of IK. The advantage of this implementation, that it is a very general approach, that does not need specific knowledge about the robot. Needed is only the number of joints represented by the dimension and D-H table (non-modified version) for calculation of FK (Forward Kinematics).

The algorithm as you can expect is not very efficient for solving the translational and rotational part of IK. In script is example of translational part IK calculation (demo), and translational + rotational example of calculation.

Software
------------------------------------
| Python version 3.10
|   - Poetry version 1.2.1

How-to-Start

Install libraries from pyproject.toml/requirements.txt.

  • Set up Bat Algorithm: params.py.

  • Change D-H table depanding on your robot: FK.py.

  • Run computation: main.py

Demo

Demo

⚠️ I do not guarantee the most optimal variant of the Bat Algorithm