Magnetometer
This section provides information on the configuration and calibration of the following sensors:
| Sensor |
|---|
| PNI RM3100 (I²C) |
| AKM AK8963 (I²C) |
Configuration
To configure the magnetometer sensor, select the sensor name, the port to which it is connected, and the orientation of the sensor with respect to the drone in the following settings.
Web Interface: Settings > Sensors > Magnetometer
Note: Make sure to reboot the Reflex after the sensor is configured. This allows the new settings to take effect for further use.
After the sensor has been configured, the raw data from the magneto sensor can be found at:
Web Interface: Advanced > Raw Data > Inspect Raw Data > sensors/magneto
Calibration
Before use, the magnetometer needs to be calibrated. This calibration should be done after the magnetometer is mounted on the drone, outdoors, with as little amount of interference as possible (away from buildings, metal surfaces, etc.) to account for the current local magnetic field. The magnetometer calibration procedure is started by
Web Interface: Calibration > Magnetometer
Once started, the drone, along with the Reflex, has to be rotated completely about all three axes until all calibration bins reach 100%.