From d2d70da1e5c6bb14249714e418778c6a5cbf84d4 Mon Sep 17 00:00:00 2001 From: angrycompany16 Date: Sun, 12 Nov 2023 17:09:37 +0100 Subject: [PATCH] added little bit of commenT --- sensors/bms/bms/freya_bms_publisher_node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sensors/bms/bms/freya_bms_publisher_node.py b/sensors/bms/bms/freya_bms_publisher_node.py index 8d031104..d5c16f80 100755 --- a/sensors/bms/bms/freya_bms_publisher_node.py +++ b/sensors/bms/bms/freya_bms_publisher_node.py @@ -14,7 +14,8 @@ class FreyaBMSNode(Node): publish_bms_data(self) -> None publises BMS data from BMS system to ROS2 node. create_key_value_pair(key: str, value) -> KeyValue: - creates KeyValue object from supplied key and value + creates KeyValue object from supplied key and value. The KeyValue object is + needed for publishing to /diagnostics topic. """ def __init__(self, usb_ports: list[str]=None) -> None: """