Effect of onboard computer and antennas on compass and orientation

I am holding an onboard computer and WiFi antennas behind the ZED 2 camera. there is a realized continuous drafting in orientation (just in Y axis (in image frame)) could it be because of the effect of other components on the compass or it’s a software (configurations). If it because of external effect there is a recommendation I should follow ?

the magnetometer sensor is not currently used in sensor fusion for the positional tracking module, to magnetic fields should not affect the results of the pose estimated by the ZED SDK.
If you are using the magnetometer for your own sensors fusion algorithm you should calibrate the sensor by using the ZED_Sensors_Viewer application keeping the camera in the same configuration of when it’s used for the positional tracking.