Phylliade / ikpy

IKPy, an Universal Inverse Kinematics library
http://phylliade.github.io/ikpy
Apache License 2.0
754 stars 154 forks source link

IKPY Smooth Motion: Inverse Kinematics using Quintic Trajectory #158

Open GaboBoho opened 1 month ago

GaboBoho commented 1 month ago

I'm a student part of a team working on a 3D Printed Humanoid based of the Poppy Open Source Project. We are looking into incorporating the IKPY library for both inverse kinematics of the arms and feet. We have created a program that calculates the quintic trajectory with each way point we calculate the inverse kinematics using IKPY to determine the angles for the motors. An issue we are running into is that for each inverse kinematics calculation it does not take the previous into account meaning that it might create erratic movement. Is there any way we could change the library so that it takes the previous angle into account and movement becomes smooth?

Phylliade commented 1 month ago

Hello @GaboBoho,

Actually when you give the starting joint angles as parameter, it defines both position and orientation.

Can you provide a recording of the erratic movement of your robot?