Skip to content

[Feature request] Add APIs to pause/resume/start updaters #226

Open

Description

@homalozoa

As I observed, there isn't any APIs to pause/resume/start diagnostic updaters. Especially when invoking diagnostic_updaters in LifecycleNodes, diagnostic updaters begins publishing topic to /diagnostics just after LifecycleNodes constructing. As description in Managed Nodes, publishers in Lifecyclenodes should be configured and activated before publishing topics.

In my opinion, there are two ways:

  1. We need to add some APIs to pause/resume/start updaters for special usage. Then we will face with choices: Will updater run timer by default? or updater only run timer after called "start" function?
  2. We add a new header file, eg. diagnostic_updater_lifecycle.hpp. And create a class derived from DiagnosticTaskVector that class Updater derived. Then implement all LifecycleNodes' APIs in it.

Activity

  1. added
    enhancementThis tackles a new feature of the code (and not a bug)
    on Feb 13, 2023
  2. added
    PR welcome 💞This issue has no PR that tries to implement it. Please create one!
    ros2PR tackling a ROS2 branch
    on May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR welcome 💞This issue has no PR that tries to implement it. Please create one!enhancementThis tackles a new feature of the code (and not a bug)ros2PR tackling a ROS2 branch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions