Skip to content

Commit

Permalink
Only fix the frame id
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart Nachtigall committed Nov 21, 2024
1 parent 45f5315 commit 280b339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admittance_controller/src/admittance_controller.cpp
Original file line number Diff line number Diff line change
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 280b339

Please sign in to comment.