Skip to content

TimersManager doesn't follow ROS time #2480

@alsora

Description

@alsora

Feature request

Feature description

Currently, the TimersManager class waits for timers to be ready using the following code

timers_cv_.wait_for(lock, time_to_sleep.value(), [this]() {return timers_updated_;});

This will always sleep using the system clock, even if the "time to sleep" was computed from a timer using the ROS clock

We should take into account the clock type when deciding how to sleep, and use an API that is aware of ROS clock

Metadata

Metadata

Assignees

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