Skip to content

Commit 0778f56

Browse files
Fix QoS for is_active publisher in LifecycleManager (#5630)
Signed-off-by: Sushant Chavan <[email protected]>
1 parent cdccfe1 commit 0778f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nav2_lifecycle_manager/src/lifecycle_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ LifecycleManager::createLifecyclePublishers()
243243
is_active_pub_ = nav2::interfaces::create_publisher<std_msgs::msg::Bool>(
244244
shared_from_this(),
245245
get_name() + std::string("/is_active"),
246-
nav2::qos::LatchedSubscriptionQoS(),
246+
nav2::qos::LatchedPublisherQoS(),
247247
callback_group_);
248248
is_active_pub_->on_activate();
249249
// Publish the initial state once at startup

0 commit comments

Comments
 (0)