Skip to content

Make rcl_lifecycle transition errors more readable #991

@alsora

Description

@alsora

Feature request

Currently rcl_lifecycle transition errors are printed as follows in a C++ application

[rcl_lifecycle]: No transition matching 3 found for current state unconfigured
[]: Unable to start transition 3 from current state unconfigured: Transition is not registered.

It would be very helpful if rather than a number 3 there was the actual name of the transition being invoked, to avoid developers a constant lookup into the message definition (which is not even linked, so this error may seem extremely confusing for not-experienced people)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions