rclcpp
rclcpp copied to clipboard
LifecycleNode publishes a null timestamp in `transition_event` topics
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
- start a lifecycle talker node:
$ ros2 run lifecycle lifecycle_talker - subscribe to the
transition_eventtopic:$ ros2 topic echo /lc_talker/transition_event - 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
