Thrusters, light etc. When we use something that draws current, we cause magnetic field and interference, so we cause deviation in our compass. How can we find a solution about this issue?
There are some thrust-scaled interference offsets available in the Compass Parameters, but if possible it’s best to use shielding to keep the electrical noise from your peripherals isolated from the flight controller’s sensors.
It may also be possible to use an external compass, although that’s more common in vehicles like drones and planes, which don’t require pressure-resistant enclosures for all the electronic components.