Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sai Kishor Kothakota <[email protected]>
Co-authored-by: Bence Magyar <[email protected]>
  • Loading branch information
3 people authored Aug 22, 2024
1 parent e260c69 commit 9bb9435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admittance_controller/src/admittance_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
namespace admittance_controller
{

static geometry_msgs::msg::Wrench add_wrenches(
geometry_msgs::msg::Wrench add_wrenches(
const geometry_msgs::msg::Wrench & a, const geometry_msgs::msg::Wrench & b)
{
geometry_msgs::msg::Wrench res;
Expand Down Expand Up @@ -292,7 +292,7 @@ controller_interface::CallbackReturn AdmittanceController::on_configure(
if (msg.header.frame_id != admittance_->parameters_.ft_sensor.frame.id && !msg.header.frame_id.empty())
{
RCLCPP_ERROR_STREAM(
get_node()->get_logger(), "Ignoring wrench reference as it is on the wrong frame: " << msg.header.frame_id << ". Expected reference frame: << admittance_->parameters_.ft_sensor.frame_id);
get_node()->get_logger(), "Ignoring wrench reference as it is on the wrong frame: " << msg.header.frame_id << ". Expected reference frame: " << admittance_->parameters_.ft_sensor.frame_id);
return;
}
input_wrench_command_.writeFromNonRT(msg);
Expand Down

0 comments on commit 9bb9435

Please sign in to comment.