Skip to content

Commit

Permalink
remove comment +unnecessary log
Browse files Browse the repository at this point in the history
  • Loading branch information
altex111 committed Feb 27, 2023
1 parent ff90fdf commit 5f6759a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kuka_rox_hardware_interface/src/rox_hardware_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ CallbackReturn KukaRoXHardwareInterface::on_init(const hardware_interface::Hardw
}
#endif

// if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1) {
// RCLCPP_ERROR(rclcpp::get_logger("KukaRoXHardwareInterface"), "mlockall error");
// RCLCPP_ERROR(rclcpp::get_logger("KukaRoXHardwareInterface"), strerror(errno));
// return CallbackReturn::ERROR;
// }

RCLCPP_INFO(rclcpp::get_logger("KukaRoXHardwareInterface"), "Init successful");

return CallbackReturn::SUCCESS;
Expand Down Expand Up @@ -231,7 +225,6 @@ CallbackReturn KukaRoXHardwareInterface::on_deactivate(
context_->TryCancel();
}
#endif

if (observe_thread_.joinable()) {
observe_thread_.join();
}
Expand Down Expand Up @@ -385,7 +378,6 @@ void KukaRoXHardwareInterface::ObserveControl()
}
}
#endif
RCLCPP_INFO(rclcpp::get_logger("KukaRoXHardwareInterface"), "Observe thread end");
}

} // namespace namespace kuka_rox
Expand Down

0 comments on commit 5f6759a

Please sign in to comment.