From f23b38229942bb92b71c5248dd87532dff8508c7 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sun, 15 Oct 2023 22:34:59 +0000 Subject: [PATCH] Cleanup debug code --- .../src/joint_trajectory_controller.cpp | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/joint_trajectory_controller/src/joint_trajectory_controller.cpp b/joint_trajectory_controller/src/joint_trajectory_controller.cpp index 7a5bcfacf3..fab1a54d6e 100644 --- a/joint_trajectory_controller/src/joint_trajectory_controller.cpp +++ b/joint_trajectory_controller/src/joint_trajectory_controller.cpp @@ -472,14 +472,6 @@ bool JointTrajectoryController::read_state_from_command_interfaces(JointTrajecto } else { - if (has_position_command_interface_ == false) - { - RCLCPP_DEBUG(get_node()->get_logger(), "No position command interface found."); - } - if (interface_has_values(joint_command_interface_[0]) == false) - { - RCLCPP_DEBUG(get_node()->get_logger(), "Interface position doesn't have values."); - } state.positions.clear(); has_values = false; } @@ -493,14 +485,6 @@ bool JointTrajectoryController::read_state_from_command_interfaces(JointTrajecto } else { - if (has_velocity_command_interface_ == false) - { - RCLCPP_DEBUG(get_node()->get_logger(), "No velocity command interface found."); - } - if (interface_has_values(joint_command_interface_[1]) == false) - { - RCLCPP_DEBUG(get_node()->get_logger(), "Interface velocity doesn't have values."); - } state.velocities.clear(); has_values = false; } @@ -518,14 +502,6 @@ bool JointTrajectoryController::read_state_from_command_interfaces(JointTrajecto } else { - if (has_acceleration_command_interface_ == false) - { - RCLCPP_DEBUG(get_node()->get_logger(), "No acceleration command interface found."); - } - if (interface_has_values(joint_command_interface_[2]) == false) - { - RCLCPP_DEBUG(get_node()->get_logger(), "Interface acceleration doesn't have values."); - } state.accelerations.clear(); has_values = false; }