RM3100 Setup Guide
PX4:
With newest PX4 firmware, the default setting will auto detect DroneCAN devices and automatically recognize RM3100 as a compass.
If flight controller does not recognize RM3100, you can set 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 onboard compass or RM3100 for directional data.
Ardupilot:
Go to Mission Planner->CONFIG->Full Parameter List
Set 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 DroneCAN/UAVCAN tab, click MAVlink-CAN1 or MAVlink-CAN2 to list out all CAN devices.
You can upgrade your DroneCAN device's firmware here by clicking Menu.
Head to Compass tab and set UAVCAN compass to first priority by clicking the up bottom.
Don't forget to reboot your device after setting the priority.
After reboot, calibrate your compass to finish configuration.
Last updated