extended closest_acorn topic queue and set to keep_last
This commit is contained in:
@@ -68,7 +68,7 @@ void ApproachAcorns::activateCB()
|
||||
auto node = node_.lock();
|
||||
using namespace std::placeholders;
|
||||
acorn_pose_sub_ = node->create_subscription<PoseStamped>(
|
||||
"closest_acorn", rclcpp::QoS(1), std::bind(&ApproachAcorns::acorn_position_cb, this, _1));
|
||||
"closest_acorn", rclcpp::QoS(2), std::bind(&ApproachAcorns::acorn_position_cb, this, _1));
|
||||
target_pose_pub_->on_activate();
|
||||
distance_ = 1.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user