From e3987d79d8b78d590f525628a886f7e6fc4e1c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0togl?= Date: Sat, 24 Sep 2022 08:44:00 +0200 Subject: [PATCH] Handle hardware errors in Resource Manager (#805) * Add code for deactivating controller when hardware gets an error on read and write. (cherry picked from commit e7488249b0f38fd5942344845495960a55daa549) --- .../include/hardware_interface/resource_manager.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/hardware_interface/include/hardware_interface/resource_manager.hpp b/hardware_interface/include/hardware_interface/resource_manager.hpp index 8b2914a381..9ae1d41fd0 100644 --- a/hardware_interface/include/hardware_interface/resource_manager.hpp +++ b/hardware_interface/include/hardware_interface/resource_manager.hpp @@ -400,7 +400,6 @@ class HARDWARE_INTERFACE_PUBLIC ResourceManager mutable std::recursive_mutex resource_interfaces_lock_; mutable std::recursive_mutex claimed_command_interfaces_lock_; mutable std::recursive_mutex resources_lock_; - std::unique_ptr resource_storage_; // Structure to store read and write status so it is not initialized in the real-time loop