Questions tagged [inverse-kinematics]

Inverse kinematics refers to a set of algorithms used to compute joint parameters necessary to move a robotic arm to a particular position, or more generally to apply geometric constraints on a mechanism (e.g. moving the center of mass of a humanoid robot).

Inverse kinematics is a subtopic kinematics and is a common encountered in robotics. In the simple case of a robot arm, there sections of the arm are connected by joints and there is an end-effector. A kinematic chain is a mathematical model of the rigid bodies and joint connectors in the robotic arm. Inverse kinematics equations are used to determine what joint parameters are required in the kinematic chain to move the end-effector to a particular position.

84 questions
35
votes
4 answers

How to calculate inverse kinematics

I want to know how to calculate rotation angles using inverse kinematics. I am planning on using this for real time 3d animation. Anyone know of some good literature that details a specific solution?
Mr Bell
  • 8,864
  • 18
  • 77
  • 124
10
votes
4 answers

2D Inverse Kinematics Implementation

I am trying to implement Inverse Kinematics on a 2D arm(made up of three sticks with joints). I am able to rotate the lowest arm to the desired position. Now, I have some questions: How can I make the upper arm move alongwith the third so the end…
Vik
  • 478
  • 2
  • 9
  • 19
6
votes
2 answers

Inverse Kinematics: Calculating the Jacobian

I am trying to do inverse kinematics for a serial chain of arbitrarily many links. In the following paper, I have found an example for how to calculate the Jacobian matrix. Entry (i, j) = v[j] * (s[i] - p[j]) where: v[j] is the unit vector of the…
Nick Heiner
  • 108,809
  • 177
  • 454
  • 689
5
votes
1 answer

C++ Inverse Kinematic Algorithm / library which includes method for IK when position of several nodes in chain known

I am looking for ideally a c++ library / code (but if not at least an algorithm) that solves the IK problem for a given chain of n nodes, of which estimates for the position of k nodes (where k < n) in the chain are known. Any help much appreciated.…
4
votes
2 answers

Handling inverse kinematics: animation blending or math?

I've been working for the past four days on inverse kinematics for my game engine. I'm working on a game with a shoestring budget so when the idea of inverse kinematics came up I knew I had to make it such that the 3D models bones would be…
meds
  • 17,850
  • 30
  • 131
  • 265
3
votes
1 answer

Rotating an Object properly around a pivot point given axis and angle

In Three.js there seems to be quite a few ways of rotation which i personally do not find very intuitive. See e.g. the example http://cloud.engineering-bear.com/apps/robot/robot.html I get very strange unexpected effects when I apply rotation to…
Wolfgang Fahl
  • 12,097
  • 9
  • 75
  • 150
3
votes
1 answer

Trying to implement Overview of Jacobian IK example within Unity

I am trying to implement the examples shown here. But when running the code, and using the debug mode, there are no values returned. I am assuming that I am not using the correct rotation axis. Extra Unity Details: Joints variable is an array of…
Maniacy2k
  • 41
  • 3
3
votes
1 answer

Inverse kinematics with end effector orientation?

I'm trying to implement an inverse kinematics solver, but this time even with the end effector's orientation. I succeeded with the case when the end effector only requires the position. I learned that in this case, you can construct the Jacobian…
Peter
  • 431
  • 4
  • 14
3
votes
0 answers

Inverse Kinematics: How to Parameterize a Ball-and-Socket Joint?

I'm learning about inverse kinematics, and am trying to write a human skeleton simulation. I am having trouble deciding how to parameterize the rotation of a ball-and-socket joint. Two methods that I can think of: The familiar axis-angle (or Euler…
user3235832
3
votes
3 answers

Principles of inverse kinematics for a basic 2D humanoid stickman

I do a bit of animation geekery as a side hobby, mostly in Javascript (DOM and canvas based) as well as having done a bit in C# and other technologies. However most of it has been based on sprites, bounding boxes, simple pixel movements etc - and…
Tom W Hall
  • 5,153
  • 4
  • 27
  • 34
2
votes
0 answers

How to restrict joint rotations in CCD

I struggle desperately with maths, to try and improve I've been trying to create an IK solution in Unity. I have made a simple CCD algorithm which behaves as intended: https://www.youtube.com/watch?v=tZvdZGUxbbc But when I try adding constraints to…
2
votes
0 answers

Why is my avatar editor erroring out when trying to preview muscle settings?

Screen capture of the event happening: https://gfycat.com/ApprehensiveInconsequentialAmethystgemclam I am attempting to familiarize myself with the Unity Inverse Kinematics (IK) system, and so opened the avatar associated with the Ethan character in…
JustLoren
  • 3,204
  • 3
  • 24
  • 34
2
votes
3 answers

Modelling a robotic arm motion in 3D, ideas?

I hope you don't mind if I ask for a bit of advice regarding modelling robotic systems. I've recently become rather interested in using inverse kinematics (IK) to control a 5 dof robotic manipulator. I have a solid foundation in IK but what I'm…
user657222
2
votes
0 answers

How to use rotation with inverse kinematics?

I'm new to Unity, I'm doing a project using inverse kinematics, on one hand (with fingers), and I'm receiving hardware rotation data (quaternion), how to move the fingers of my hand if my only input is rotation , a quaternion on the last finger, and…
2
votes
1 answer

Understanding Inverse Kinematics pybullet

I'm trying to do cartesian control with a simulated PR2 robot in pybullet. In pybullet, the function calculateInverseKinematics(...) optionally takes joint lower limits, upper limits, joint ranges and rest poses in order to do null space control.…
user3925668
  • 21
  • 1
  • 3
1
2 3 4 5 6