- Date: 26.08.2025
- Problem: when loading extrinsics from the dataset, the rotation values keep flipping almost each time. For example, in the first scene (images/train/front), if you load several frames in a row and look at the values in the rotation matrix, they seem to change drastically each frame, as if the car (and the camera) turns very quickly. And yet looking at the scene, the car just moves forward.
- Bug: I had to look into the code that loads the rotations, and it seems one has to add
degrees=True when loading the rotation matrix from euler angles, because raw values at the start (~0, ~0, ~180) suggest we have degrees instead of radians, that's why the values did not correspond to anything at all.
- Code needs changing: https://github.com/SysCV/shift-dev/blob/f8e4825e04f5584c8d1a0a96c85fc42afc1cbe57/shift_dev/dataloader/base/scalabel.py#L47
I checked this in the sensor pose viewer and it seems to be correct, when using degrees=True the camera poses are more or less correct:
