Skip to content

ROS Topic when the controller is starting - on_init or on_activate #2127

@brennand

Description

@brennand

System: ROS 2 Jazzy

Hi,
I'm writing a custom hardware interface for an EtherCAT system. It works well, but it takes around 30–60 seconds for the system to fully initialize.

I'm wondering — is there a way to use /dynamic_joint_states (or another topic) to publish status updates during on_init() or on_activate()?

It would be really helpful if /dynamic_joint_states could start publishing at that stage.

Reason:
When I launch the system from the command line, I can see what's happening through the console output. But when running on the real robot, I use a GUI that monitors the internal system state using custom /dynamic_joint_states messages — and during startup, it’s silent.

I’m wondering if there’s a better or more standard way to expose what’s happening during initialization?

Bren

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions