Hi everyone,
We’re facing an issue with multiple current sensors showing up in our PX4-based UAV system using DroneCAN, and I’m hoping to get some clarity or guidance.
System Overview:
Two DroneCAN battery sensors detected:
Node ID 116 – This is our external power module, and the one we actually want to use.
Node ID 50 – This seems to be coming from the internal current sensor of the flight computer (DC2), and is not reliable as it’s powered via a UBEC and not connected to the main battery power line.
The Problem:
The issue arises in QGroundControl, where an additional battery labeled “Battery 50” appears, seemingly representing the internal current sensor of the flight computer (DC2). This sensor gives misleading data and regularly reports 0% remaining and emergency status, likely because it’s not connected to a proper load or battery.
The unwanted Battery 50 appears in QGC and causes confusion (see image below). Notably, the system is under test in the attached image, and the -100% reading on Battery 116 is expected since the main power module wasn’t fully energized at the time.
Question:
How can we fully disable or ignore the Battery 50 sensor from showing up in QGC or PX4’s battery monitoring system? Is there a specific parameter or method to blacklist a DroneCAN battery node or prevent PX4 from using its data?
Any help or insights would be much appreciated!
Thanks in advance,
Konstantinos