From e8a17e11b559e6b9d579b32c9b29ea55cc84de42 Mon Sep 17 00:00:00 2001 From: Moritz Maas <utwlw@student.kit.edu> Date: Sun, 9 Feb 2025 16:16:10 +0100 Subject: [PATCH] fix: make sphinx happy --- uppaal2jetracer/controller/hardware_command_system.py | 3 +-- uppaal2jetracer/controller/hardware_controller.py | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/uppaal2jetracer/controller/hardware_command_system.py b/uppaal2jetracer/controller/hardware_command_system.py index 65e30d6..e205f26 100644 --- a/uppaal2jetracer/controller/hardware_command_system.py +++ b/uppaal2jetracer/controller/hardware_command_system.py @@ -270,8 +270,7 @@ class HardwareCommandResult[T]: :ivar _result: The result of the command. May be None on failure. :vartype _result: T - :ivar _result_type: The type of the result. - Automatically set to HARDWARE_FAILURE if the hardware state is ERROR. + :ivar _result_type: The type of the result. Automatically set to HARDWARE_FAILURE if the hardware state is ERROR. :vartype _result_type: HardwareCommandResultType """ __slots__ = ("_result", "_result_type", "_return_type") diff --git a/uppaal2jetracer/controller/hardware_controller.py b/uppaal2jetracer/controller/hardware_controller.py index 7c241dd..6133413 100644 --- a/uppaal2jetracer/controller/hardware_controller.py +++ b/uppaal2jetracer/controller/hardware_controller.py @@ -16,10 +16,6 @@ from abc import ABC, abstractmethod from enum import Enum import logging -from uppaal2jetracer.jetracerros2.jetracerros2.turn_controller import TurnController -from uppaal2jetracer.jetracerros2.jetracerros2.speed_controller import SpeedController -from uppaal2jetracer.jetracerros2.jetracerros2.collision_controller import CollisionController - logger = logging.getLogger("controller") @@ -102,10 +98,6 @@ class JRHardwareController(HardwareController): Initialize the hardware controller. """ - self._turn_controller = TurnController() - self._speed_controller = SpeedController() - self._collision_controller = CollisionController() - logger.debug("Initialized hardware controller.") def shutdown(self): -- GitLab