Skip to content

nav2_behavior Wait is not using sim time #3780

@doisyg

Description

@doisyg

Bug report

The Wait behavior https://github.com/ros-planning/navigation2/blob/main/nav2_behaviors/plugins/wait.cpp is not using the ROS clock and hence will not have a consistant behavior when used in sim if the real time factor is not maintained to 1

Expected behavior

Wait based on sim time when in sim

Actual behavior

Wait based on the wall clock

Additional information

Would it be okay to switch to using the ROS clock ? I can make a PR

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