About the IMU.
I suppose it has basic stuff as accelerometer and gyro.
You get xyz values that represent vectors and those vectors gives you direction and magnitude.
The vector can be used to translate the receiver center coordinate to the pole end coordinate.
Some way of calibration is probably needed.
So what is the problem with the implementation?
Can I help?