From 9618e107a5f42875e46ca89fc82c1ea9062c01ac Mon Sep 17 00:00:00 2001 From: Thomason Zhou Date: Thu, 10 Apr 2025 18:34:54 +0900 Subject: [PATCH] Remove default disable_torque_ in openarm --- openarm_hardware/src/openarm_hardware.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/openarm_hardware/src/openarm_hardware.cpp b/openarm_hardware/src/openarm_hardware.cpp index e52f042..c1b27a7 100644 --- a/openarm_hardware/src/openarm_hardware.cpp +++ b/openarm_hardware/src/openarm_hardware.cpp @@ -199,8 +199,6 @@ hardware_interface::return_type OpenArmHW::read( hardware_interface::return_type OpenArmHW::write( const rclcpp::Time & /*time*/, const rclcpp::Duration & /*period*/) { - disable_torque_ = false; - if (disable_torque_){ // refresh motor state on write for(size_t i = 0; i < TOTAL_DOF; ++i){