From ab8610ec5240b28aa457e9050bf015ed32795810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kowalski?= <82044322+pkowalsk1@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:48:44 +0200 Subject: [PATCH] Update adc_node.py --- panther_battery/src/adc_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panther_battery/src/adc_node.py b/panther_battery/src/adc_node.py index e61e46b73..373f5845c 100755 --- a/panther_battery/src/adc_node.py +++ b/panther_battery/src/adc_node.py @@ -150,7 +150,7 @@ def _battery_timer_cb(self, *args) -> None: else: temp_bat_1 = self._voltage_to_deg(V_temp_bat_1) self._publish_battery_msg( - self._battery_pub, V_bat_1, temp_bat_1, -(I_bat_1 + I_bat_2) + I_charge_bat_1 + self._battery_pub, V_bat_1, temp_bat_1, -(I_bat_1 + I_bat_2) + I_charge_bat_1, I_charge_bat_1 ) def _check_battery_count(self) -> int: