# Kinematic model

A kinematic model describes the motion of a robot in mathematical form without considering the forces that affect motion and concerns itself with the geometric relationship between elements.

In the kinematic model of a robot, the connection of different manipulator joints is known as link, and the integration of two or more links is called a joint. This kinematic model can be represented as a tree structure. The tree describes the kinematic chain, i.e., the connection of robotic links with joints, and the inter-dependendencies of these links. This tree structure plus the underlying geometric information can be defined in Unified Robot Description Format (URDF), which describes any robot (see for example UR5 URDF). If the robot is mounted on external axes, these links and joints can be added as well.

## Joints

The joints are the elements in a robot which helps the links to travel in different kind of movements. The three major types of joints are:

• Revolute: A hinge joint that rotates along the axis and has a limited range specified by the upper and lower limits.

• Prismatic: A sliding joint that slides along the axis, and has a limited range specified by the upper and lower limits.

• Fixed: Not really a joint because it cannot move, all degrees of freedom are locked.

COMPAS Framework provides classes to describe robot models. The following snippet shows how to describe a UR5 robot:

from compas.robots import RobotModel
from compas.robots import Joint
from compas.robots import Link

robot = RobotModel('ur5',
joints=[