Autosteer Single GPS+IMU+Panda

Correct me of I’m wrong but if you want to compensate Cab suspension you need to get the corrected Position on top of your transmission, and then this position with the second Imu to get the real under axle position. ?

Like this picture