diff --git a/panther_battery/src/adc_node.py b/panther_battery/src/adc_node.py index 999640c87..99b5ecdaf 100755 --- a/panther_battery/src/adc_node.py +++ b/panther_battery/src/adc_node.py @@ -204,7 +204,7 @@ def _publish_battery_msg( battery_msg.capacity = 20.0 battery_msg.design_capacity = 20.0 battery_msg.charge = battery_msg.percentage * battery_msg.design_capacity - battery_msg.power_supply_technology = BatteryState.POWER_SUPPLY_TECHNOLOGY_LIPO + battery_msg.power_supply_technology = BatteryState.POWER_SUPPLY_TECHNOLOGY_LION battery_msg.present = True V_bat_mean = self._count_mean(bat_pub, V_bat, self._V_bat_mean, self._V_bat_hist) diff --git a/panther_battery/src/roboteq_republisher_node.py b/panther_battery/src/roboteq_republisher_node.py index 9674a1525..d2aa030b2 100755 --- a/panther_battery/src/roboteq_republisher_node.py +++ b/panther_battery/src/roboteq_republisher_node.py @@ -73,7 +73,7 @@ def _battery_pub_timer_cb(self, *args) -> None: battery_msg.header.stamp = rospy.Time.now() battery_msg.capacity = 20.0 battery_msg.design_capacity = 20.0 - battery_msg.power_supply_technology = BatteryState.POWER_SUPPLY_TECHNOLOGY_LIPO + battery_msg.power_supply_technology = BatteryState.POWER_SUPPLY_TECHNOLOGY_LION if ( self._battery_voltage == None