From ad22c539a87c2334bfa149f92d9567e221ee88a5 Mon Sep 17 00:00:00 2001 From: gandres42 Date: Tue, 14 May 2024 10:21:30 -0400 Subject: [PATCH] hardcode topics to bypass broken launchfiles --- src/ldrp/perception.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ldrp/perception.cpp b/src/ldrp/perception.cpp index 987fac1..a4eab91 100644 --- a/src/ldrp/perception.cpp +++ b/src/ldrp/perception.cpp @@ -112,9 +112,9 @@ namespace util { PerceptionNode::PerceptionNode() : rclcpp::Node("perception_node") { RCLCPP_INFO(this->get_logger(), "Perception Node Initialization!"); // setup subs/pubs - this->scan_sub = this->create_subscription("scan", 1, // gets remapped when using launchfile + this->scan_sub = this->create_subscription("/filtered_cloud", 1, // gets remapped when using launchfile std::bind(&PerceptionNode::scan_cb, this, std::placeholders::_1)); - this->pose_sub = this->create_subscription("pose", 1, // ^ + this->pose_sub = this->create_subscription("/adjusted_pose", 1, // ^ std::bind(&PerceptionNode::pose_cb, this, std::placeholders::_1)); this->grid_pub = this->create_publisher("/ldrp/obstacle_grid", 1);