From 933d78b73b20044d2d38c925483b72dce5fd224b Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Wed, 18 May 2022 13:43:34 -0300 Subject: [PATCH] APMPowerComponent.qml: add new entry for BR PM on Navigator This is required because it uses different pins for reading the voltage and current. This code probably needs a refactor to deal with different boards --- src/AutoPilotPlugins/APM/APMPowerComponent.qml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/AutoPilotPlugins/APM/APMPowerComponent.qml b/src/AutoPilotPlugins/APM/APMPowerComponent.qml index b11abe9..8baf435 100644 --- a/src/AutoPilotPlugins/APM/APMPowerComponent.qml +++ b/src/AutoPilotPlugins/APM/APMPowerComponent.qml @@ -350,6 +350,15 @@ SetupPage { } ListElement { + text: qsTr("Navigator w/ Blue Robotics Power Sense Module") + voltPin: 5 + currPin: 4 + voltMult: 11.000 + ampPerVolt: 37.8788 + ampOffset: 0.330 + } + + ListElement { text: qsTr("Other") } }