Skip to content

transition events don't populate transition id, label, or timestamp #1019

@Aposhian

Description

@Aposhian

Bug report

Required Info:

  • Operating System:
    • N/A
  • Installation type:
    • binaries
  • Version or commit hash:
    • humble
  • DDS implementation:
    • CycloneDDS
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

Not all the fields of lifecycle_msgs/msg/TransitionEvent are being utilized

ros2 topic echo /<node>/transition_event lifecycle_msgs/msg/TransitionEvent

Expected behavior

timestamp: 1668097069451777251
transition:
  id: 1
  label: configure
start_state:
  id: 1
  label: unconfigured
goal_state:
  id: 10
  label: configuring

Actual behavior

timestamp: 0
transition:
  id: 0
  label: ''
start_state:
  id: 1
  label: unconfigured
goal_state:
  id: 10
  label: configuring

Additional information

This matters for things like launch_ros.event_handlers.OnStateTransition which present an interface to match on transition, but which will fail every time.

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