Skip to content
Snippets Groups Projects
Unverified Commit 58476591 authored by Carlos A. Orduno's avatar Carlos A. Orduno Committed by GitHub
Browse files

Bug fix: Tell the buffer we're using a dedicated thread (#1183)

parent cf45254b
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ BtNavigator::on_configure(const rclcpp_lifecycle::State & /*state*/)
auto timer_interface = std::make_shared<tf2_ros::CreateTimerROS>(
get_node_base_interface(), get_node_timers_interface());
tf_->setCreateTimerInterface(timer_interface);
tf_->setUsingDedicatedThread(true);
tf_listener_ = std::make_shared<tf2_ros::TransformListener>(*tf_, this, false);
goal_sub_ = create_subscription<geometry_msgs::msg::PoseStamped>(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment