Skip to content

Lifecycle nodes don't use simulation time when use_sim_time set #641

@mjeronimo

Description

@mjeronimo

Bug report

Required Info:

  • Operating System: Ubuntu 18.04
  • Installation type: source
  • Version or commit hash: 10d7b7c
  • DDS implementation: Fast-RTPS
  • Client library (if applicable): rclcpp

Steps to reproduce issue

  • Set use_sim_time parameter on a LifecycleNode
  • Later, in a message callback, for example, print out the value of node->now()

Expected behavior

The time would be relative to the simulation clock

Actual behavior

It is relative to the system clock

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