diff --git a/robot_py/package.xml b/robot_py/package.xml index 92b7eb1..dfd9c6f 100644 --- a/robot_py/package.xml +++ b/robot_py/package.xml @@ -11,7 +11,7 @@ ament_flake8 ament_pep257 python3-pytest - + ament_python diff --git a/robot_py/robot_py/robot/perception/perception_system.py b/robot_py/robot_py/robot/perception/perception_system.py index bca3566..0ce6ca3 100644 --- a/robot_py/robot_py/robot/perception/perception_system.py +++ b/robot_py/robot_py/robot/perception/perception_system.py @@ -90,7 +90,6 @@ def stop(self): """ Closes the connection to the depthai device, ensuring a clean shutdown. """ - if self._pipeline is not None: self._ros_context_manager.shutdown() if self._device: