gaoxiang12 / slambook-en

The English version of 14 lectures on visual SLAM.
GNU General Public License v3.0
1.41k stars 255 forks source link

clarification needed #29

Closed jonassvedas closed 10 months ago

jonassvedas commented 3 years ago

Section 3.12, equation 3.5. It is not made clear why when multiplying both sides of the equation by the transpose of the unit vector e, the coefficient on the left becomes a identity matrix.

nicolasrosa commented 3 years ago

Jonas Svedas,

I hope the following equations help you.

CodeCogsEqn

image

jonassvedas commented 3 years ago

Thanks that makes it clear. Also what is not mentioned in the book is what is e1,e2,e3. My assumption is that if e is a unit vector than e1,e2,e3 are the vector components in the direction of each axis. E.g. if e = (a,b,c) then e1 = (a,0,0) ,e2 = (0,b,0) , e3 = (0,0,c)?

nicolasrosa commented 3 years ago

I believe the sentence "We have a unit-length orthogonal base (e1; e2; e3)" was presented to get the concept of what you just said. Maybe @gaoxiang12 can present this in a more clear way.

jonassvedas commented 3 years ago

Yeah that is not very clear what that is, because the sentance has e1,e2,e3 in bold which is the notation for a vector, right? So is my assumption that [e1,e2,e3] is a diagonal matrix with the values on the diagonal corresponding to the coordinates of e?

gaoxiang12 commented 3 years ago

Hi @jonassvedas, the e1,e2,e3 are just vectors here, without coordinates.

We can compute the plus, minus, inner product and outer product of the vectors without using the coordinates (also without defining any coordinate systems). The result of the inner product is the multiplication of their length and the angle. If the coordinates are known, it is the same as the sum of the product of the coordinates.

So [e1, e2, e3] here is not a diagonal matrix, but just a row of vectors. They follow the matrix multiplication rules when doing multiplication as @nicolasrosa writes. In some book, it is called the vertrix but we don't introduce this concept in our book.

nicolasrosa commented 3 years ago

@jonassvedas Can we close this issue?