Skip to content

Commit

Permalink
clarified topic
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Nov 21, 2023
1 parent c37a7f1 commit 4d010ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lbr_ros2_control/src/lbr_virtual_ft_broadcaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ controller_interface::CallbackReturn LBRVirtualFTBroadcaster::on_init() {
try {
wrench_stamped_publisher_ptr_ =
this->get_node()->create_publisher<geometry_msgs::msg::WrenchStamped>(
"wrench", rclcpp::SensorDataQoS());
"estimated_force_torque", rclcpp::SensorDataQoS());
rt_wrench_stamped_publisher_ptr_ =
std::make_shared<realtime_tools::RealtimePublisher<geometry_msgs::msg::WrenchStamped>>(
wrench_stamped_publisher_ptr_);
Expand All @@ -41,7 +41,7 @@ controller_interface::CallbackReturn LBRVirtualFTBroadcaster::on_init() {
this->get_node()->get_logger(),
"Number of joint names (%ld) does not match the number of joints in the robot (%d).",
joint_names_.size(), KUKA::FRI::LBRState::NUMBER_OF_JOINTS);
return false;
return controller_interface::CallbackReturn::ERROR;
}
} catch (const std::exception &e) {
RCLCPP_ERROR(this->get_node()->get_logger(),
Expand Down

0 comments on commit 4d010ae

Please sign in to comment.