Magnetometer ============ To simulate the measurements produced by a magnetometer, we resort to the same declination D, nclination I angles, and magnetic strength S pre-computed tables provided in PX4-SITL :cite:p:`px4`, obtained from the World Magnetic Model (WMM) from 2018 :cite:p:`compute_mag_components`. .. automodule:: pegasus.simulator.logic.sensors.magnetometer :members: :undoc-members: :show-inheritance: