Skip to content

LifecycleNode publishes a null timestamp in transition_event topics #564

@Myzhar

Description

@Myzhar

Required Info:

  • Operating System:
    • Ubuntu 16.04
  • Installation type:
    • Source
  • Version or commit hash:
  • DDS implementation:
    • Fast-RTPS
  • Client library (if applicable):
    • rclcpp

Steps to reproduce issue

  1. start a lifecycle talker node:
    $ ros2 run lifecycle lifecycle_talker
  2. subscribe to the transition_event topic:
    $ ros2 topic echo /lc_talker/transition_event
  3. require some transitions:
    $ ros2 lifecycle set /lc_talker configure
    $ ros2 lifecycle set /lc_talker activate

I noticed the issue with my own lifecycle node and I tested it with the provided example to be sure that the issue is generic.

Expected behavior

current timestamp for the messages

Actual behavior

The timestamp is null as you can see in the following screenshoot

image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions