Skip to content

mqtt_client doesn't create generic publisher at runtime change of message type #45

@vishantyadav-eic

Description

@vishantyadav-eic

when we change the message type at runtime no logs are seen from mqtt_client node, after restart the client it throws an error: "[mqtt_client-1] [ERROR] [1702010603.069871187] [mqtt_client]: Failed to create generic subscriber: could not create subscription: invalid allocator, at ./src/rcl/subscription.c:218"
After restarting the mqtt_client again it works successfully but the issue is I have to restart mqtt_client twice.
ROS Distro: humble, using Docker

we want to change the message at runtime without restarting the mqtt_client , How we can achieve the same ?

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