Index: leahi_dialin/dd/proxies/ro_proxy.py =================================================================== diff -u -rc587268b85d4b16b4102869d2841be84f3a2a23f -r18c90a1b2b6c7339bdd192a2d2fac32f2b8a35df --- leahi_dialin/dd/proxies/ro_proxy.py (.../ro_proxy.py) (revision c587268b85d4b16b4102869d2841be84f3a2a23f) +++ leahi_dialin/dd/proxies/ro_proxy.py (.../ro_proxy.py) (revision 18c90a1b2b6c7339bdd192a2d2fac32f2b8a35df) @@ -7,19 +7,19 @@ # # @file ro_proxy.py # -# @author (last) Micahel Garthwaite -# @date (last) 18-Aug-2023 +# @author (last) Zoltan Miskolci +# @date (last) 08-Jan-2026 # @author (original) Peter Lucia # @date (original) 02-Apr-2020 # ############################################################################ -import struct + from logging import Logger -from leahi_dialin.common.msg_defs import MsgIds, MsgFieldPositions +from leahi_dialin.common.msg_defs import MsgIds from leahi_dialin.protocols.CAN import DenaliMessage, DenaliCanMessenger, DenaliChannels -from leahi_dialin.utils.base import AbstractSubSystem, publish -from leahi_dialin.utils.conversions import integer_to_bytearray, byte_to_bytearray, float_to_bytearray +from leahi_dialin.utils.base import AbstractSubSystem +from leahi_dialin.utils.conversions import integer_to_bytearray, float_to_bytearray class ROProxy(AbstractSubSystem): @@ -33,13 +33,13 @@ @param can_interface: the Denali CAN interface object """ - super().__init__() self.can_interface = can_interface self.logger = logger # no current registered call back methods + def cmd_dd_send_ro_start_stop_request(self, cmdID: int = 0, start: bool = 0, ro_rate: float = 0): """ Constructs and sends a DD command request to the RO. @@ -59,4 +59,3 @@ self.logger.debug("Sending DD start stop request to RO.") self.can_interface.send(message, 0) -