# Kinematyka prosta i odwrotna

EN: **Forward and inverse kinematics** · id `kinematics` · aliases: forward kinematics, inverse kinematics, IK, kinematyka odwrotna, kinematyka prosta

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Robotyka i embodied AI](https://aiatlasgraph.com/t/robotics.md) › [Kinematyka i sterowanie robotem](https://aiatlasgraph.com/t/robotcontrol.md) › Kinematyka prosta i odwrotna

## Description

- PL: Odwzorowanie między przestrzenią stawów a pozycją i orientacją efektora: proste w jedną stronę, wieloznaczne i często iteracyjne w drugą.
- EN: The mapping between joint space and end-effector pose: direct one way, ambiguous and often iterative the other.

## In one sentence

- PL: Liczenie, gdzie znajdzie się dłoń robota przy danych kątach stawów – i odwrotnie: jakie kąty ustawić, by dosięgnąć celu.
- EN: Calculating where a robot's hand ends up for given joint angles, and the reverse: which angles reach a target.

## Problem it solves

- PL: Wiesz, gdzie leży przedmiot, ale robot jest sterowany kątami kilku stawów i nie wiadomo, jak je ustawić.
- EN: You know where the object is, but the robot is driven by several joint angles and it's unclear how to set them.

## What it does

- PL: Przypomina sięganie po kubek z zamkniętymi oczami: znając długość ręki, wyliczasz zgięcie łokcia i barku potrzebne do celu.
- EN: Like reaching for a mug with your eyes shut: knowing your arm's length, you work out the elbow and shoulder bend needed.

## Everyday example

- PL: Ramię spawalnicze prowadzi palnik wzdłuż szwu karoserii, a program co chwilę przelicza ustawienia sześciu stawów.
- EN: A welding arm guides its torch along a car-body seam while software keeps recomputing the settings of six joints.

## This concerns you if you…

- PL: programujesz ramię robota, które ma sięgać w konkretne miejsca
- PL: animujesz postać, której ręka ma trafić w cel
- PL: chcesz wiedzieć, skąd robot wie, gdzie jest jego chwytak
- EN: program a robot arm to reach specific places
- EN: animate a character whose hand must hit a target
- EN: want to know how a robot knows where its gripper is

## Keywords

Denavit-Hartenberg · product of exponentials · Jacobian · damped least squares · IKFast · Pinocchio · URDF

## How it works

- PL: Kinematyka prosta składa transformacje sztywne kolejnych ogniw (parametry Denavita–Hartenberga lub wzór iloczynu wykładniczego). Odwrotna szuka kątów dla zadanej pozy: analitycznie dla prostych ramion albo numerycznie, iterując z jakobianem (np. metoda Newtona–Raphsona, tłumione najmniejsze kwadraty).
- EN: Forward kinematics chains the rigid transforms of successive links (Denavit–Hartenberg parameters or the product-of-exponentials formula). Inverse kinematics finds angles for a target pose: analytically for simple arms or numerically by iterating with the Jacobian (e.g. Newton–Raphson, damped least squares).

## Limits

- PL: Zadanie odwrotne może mieć wiele rozwiązań albo żadnego; w osobliwościach jakobian traci rząd i ruch staje się niestabilny. Metody numeryczne zależą od punktu startu i same nie uwzględniają kolizji.
- EN: The inverse problem may have many solutions or none; at singularities the Jacobian loses rank and motion becomes unstable. Numerical methods depend on the starting guess and ignore collisions on their own.

## Key terms

- PL: **jakobian**: Macierz mówiąca, jak mały ruch stawów przesuwa końcówkę ramienia.
- PL: **osobliwość**: Ułożenie ramienia, w którym traci ono zdolność ruchu w którymś kierunku.
- PL: **poza (pose)**: Położenie i orientacja obiektu w przestrzeni naraz.
- EN: **Jacobian**: A matrix showing how small joint motions move the arm's tip.
- EN: **singularity**: An arm configuration where it loses the ability to move in some direction.
- EN: **pose**: An object's position and orientation together.

## Know first

- [Algebra liniowa: wektory i macierze (Linear algebra: vectors and matrices)](https://aiatlasgraph.com/t/linearalgebra.md)
- [Rachunek różniczkowy i gradienty (Calculus and gradients)](https://aiatlasgraph.com/t/calculus.md)

## Sources

- [Modern Robotics: Mechanics, Planning, and Control](<https://hades.mech.northwestern.edu/index.php/Modern_Robotics>) `modern-robotics-2017` · by Kevin M. Lynch, Frank C. Park

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/kinematics · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
