Indoor flight with Ultra-wideband

Hi all,
I am trying Ultra-wideband system to simulate GPS coordinates to copter.

(No GPS, Use Ultra-wideband to Indoor flight stable hover)

But the copter magnetic can be stabilized in some Indoors.Some indoor places are copter magnetic unstable…

Is there a sensor that replaces the magnetic of the copter?

Any help would be appreciated. thank you~