diff --git a/hardware_interface/src/resource_manager.cpp b/hardware_interface/src/resource_manager.cpp index e143079c38..06c56b4cce 100644 --- a/hardware_interface/src/resource_manager.cpp +++ b/hardware_interface/src/resource_manager.cpp @@ -684,13 +684,9 @@ void ResourceManager::load_urdf( const std::string sensor_type = "sensor"; const std::string actuator_type = "actuator"; -<<<<<<< HEAD const auto hardware_info = hardware_interface::parse_control_resources_from_urdf(urdf); if (load_and_initialize_components) -======= - std::lock_guard resource_guard(resources_lock_); - for (const auto & individual_hardware_info : hardware_info) ->>>>>>> 25f2c97 (Add resources_lock_ lock_guards to avoid race condition when loading robot_description through topic (#1451)) + std::lock_guard resource_guard(resources_lock_); { for (const auto & individual_hardware_info : hardware_info) {