WEBVTT

00:00.230 --> 00:02.690
To solve the forward kinematics problem.

00:02.690 --> 00:09.140
We had to employ the transformation matrices and we have seen how useful and powerful they are in the

00:09.140 --> 00:15.500
hands of our robotic software developer to solve complex mathematical problems in an easy and intuitive

00:15.500 --> 00:16.040
way.

00:16.870 --> 00:23.620
Not only are transformation matrices useful to solve the kinematics problem, but they are practically

00:23.620 --> 00:25.750
useful everywhere in robotics.

00:25.870 --> 00:33.220
Everything can be represented and schematized with a reference frame and can be defined with a transformation

00:33.220 --> 00:33.940
matrix.

00:34.270 --> 00:42.280
The importance of this tool in Ros2 and in robotics world is clear, which is why there is already a

00:42.280 --> 00:49.240
library available in Ros2 that allows to manipulate and combine reference frames through transformation

00:49.240 --> 00:50.050
matrices.

00:50.320 --> 00:53.470
This library is called TF2.

00:54.400 --> 00:59.260
In any robotics application, you will always find yourself dealing with this library.

00:59.290 --> 01:05.890
In fact, even unconsciously, we have already used this package during this course when defining the

01:05.920 --> 01:10.630
Urdf model with the links and the joints of our manipulator robot.

01:11.860 --> 01:19.060
The robot model can be seen as a tree composed of different reference frame connected to each other,

01:19.060 --> 01:25.030
whose transformation matrices between the various reference frame of the robot are automatically calculated

01:25.060 --> 01:27.910
based on the urdf model of the robot.

01:28.330 --> 01:35.590
In fact, in the urdf model of the robot, each link we defined corresponds to the definition of a new

01:35.590 --> 01:42.220
reference frame, and each joint corresponds to the definition of the rotation and translation of a

01:42.220 --> 01:45.250
certain link with the respect to the previous one.

01:46.030 --> 01:52.300
Therefore, it practically corresponds to the definition of the transformation matrix between two consecutive

01:52.300 --> 01:54.280
links connected to each other.

01:55.260 --> 02:01.440
This translation from the RDF model of the robot where all the links and therefore the reference frame

02:01.440 --> 02:07.680
and all the joints and therefore the transformation matrices are defined is the task of the robot estate

02:07.680 --> 02:08.970
publisher node.

02:09.000 --> 02:16.530
It reads The RDF model of the robot interprets it and publishes the links and the transformation within

02:16.530 --> 02:18.360
a topic called TF.

02:18.720 --> 02:20.450
Subsequently, Aav's.

02:20.460 --> 02:27.450
Subscribe to this same topic in order to display in its graphical interface the reference frames that

02:27.450 --> 02:33.840
make up the robot in the correct position with their correct translation and relative orientation.
