thomasfermi / Algorithms-for-Automated-Driving

Each chapter of this (mini-)book guides you in programming one important software component for automated driving.

Home Page:https://thomasfermi.github.io/Algorithms-for-Automated-Driving/Introduction/intro.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why the rotation formula no same with wikipedia

rmGFW opened this issue · comments

commented

hi , this is a very nice book ;

i was confused when reading chapter of Camera Calibration ,

image

this matrix seems that no same with below (from https://en.wikipedia.org/wiki/Rotation_matrix)

image

Hi @rmGFW, sorry for the late reply. These rotation matrices are always a pain. Everybody has different conventions. We tried to go for one that is compatible wit the CARLA simulator.

One difference to Wikipedia is that we call pitch $\alpha$, yaw $\beta$, roll $\gamma$ and Wikipedia yaw $\alpha$, pitch $\beta$, roll $\gamma$. Then also which rotation is around the x,y,z axis is different. Compare the pitch matrix from Wikipedia with the pitch matrix from the book. Everybody has different conventions :/ But the concept is the same :)