Skip to content

Commit e4ffc57

Browse files
Avoid duplicated name for service and publisher
Signed-off-by: Sushant Chavan <[email protected]>
1 parent 47327a5 commit e4ffc57

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
@@ -242,7 +242,7 @@ LifecycleManager::createLifecyclePublishers()
242242

243243
is_active_pub_ = nav2::interfaces::create_publisher<std_msgs::msg::Bool>(
244244
shared_from_this(),
245-
get_name() + std::string("/is_active"),
245+
get_name() + std::string("/managed_nodes_activated"),
246246
nav2::qos::LatchedPublisherQoS(),
247247
callback_group_);
248248
is_active_pub_->on_activate();

0 commit comments

Comments
 (0)