Skip to content

MapServer class' on_activate should call LifecycleNode::on_activate(state) #3710

@udalmia94

Description

@udalmia94

Bug report

Required Info:

  • Operating System:
    • Ubuntu 22.04
  • ROS2 Version:
    • Humble, apt install
  • Version or commit hash:
    • ros-humble-navigation2 1.1.8-2jammy.20230624.064440
  • DDS implementation:
    • Fast-RTPS

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 LifecyclePublishers declared in a derived class of map server would also get activated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions