rclcpp icon indicating copy to clipboard operation
rclcpp copied to clipboard

LifecycleNode publishes a null timestamp in `transition_event` topics

Open Myzhar opened this issue 7 years ago • 4 comments

Required Info:

  • Operating System:
    • Ubuntu 16.04
  • Installation type:
    • Source
  • Version or commit hash:
    • eb439ddc73c7f57ef59bb4919b02c4dd00d6ffec
  • 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

Myzhar avatar Oct 05 '18 08:10 Myzhar