Bug report
Required Info:
- Operating System:
- ROS2 Version:
- Version or commit hash:
- ros-humble-navigation2 1.1.8-2jammy.20230624.064440
- DDS implementation:
Steps to reproduce issue
Expected behavior
Actual behavior
Additional information
https://github.com/ros-planning/navigation2/blob/main/nav2_map_server/src/map_server/map_server.cpp#L128C1-L144C2
The on_activate()
function should call the base class LifecycleNode::on_activate(state)
function to activate all publishers rather than activating the publisher explicitly. This ensures any LifecyclePublisher
s declared in a derived class of map server would also get activated.