While the IPS is running, the vehicle is placed in various poses on the floor, following a particular calibration sequence. The calibration features
(back_x, back_y, direction_x, direction_y) are recorded from the running IPS. A linear calibration is then fitted using least squares.
TODO a constant/affine term is implemented on the C++ side, but not used in the calibration in Matlab.