RM3100 Setup Guide
PX4:
With the newest PX4 firmware, the default setting will auto-detect DroneCAN devices and automatically recognize RM3100 as a compass.
If the flight controller does not recognize RM3100, you can set the following parameters to enable it:
UAVCAN_ENABLE = Sensors Automatic Config
UAVCAN_SUB_MAG = 1


After setup, remember to calibrate it:

After calibration, PX4 will automatically select the onboard compass or RM3100 for directional data.
Ardupilot:
Go to Mission Planner->CONFIG->Full Parameter List
Set the following parameters:
If using CAN1 port:
CAN_D1_PROTOCOL = 1
CAN_P1_DRIVER = 1
If using CAN2 port:
CAN_D2_PROTOCOL = 1
CAN_P2_DRIVER = 1
At the DroneCAN/UAVCAN tab, click MAVlink-CAN1 or MAVlink-CAN2 to list out all CAN devices.
Avoid updating the DroneCAN device's firmware unless necessary. In a small chance, an update may brick the device and require opening the case and flashing the microcontroller using ST-Link.

Head to the Compass tab and set the UAVCAN compass to first priority by clicking the bottom. Don't forget to reboot your device after setting the priority.

After reboot, calibrate your compass to finish configuration.
Last updated
Was this helpful?