Skip to content

time_until_next_call returns max if timer is canceled.#910

Merged
fujitatomoya merged 2 commits intoros2:masterfrom
fujitatomoya:topic-20220308-time_until_next_call
Mar 11, 2022
Merged

time_until_next_call returns max if timer is canceled.#910
fujitatomoya merged 2 commits intoros2:masterfrom
fujitatomoya:topic-20220308-time_until_next_call

Conversation

@fujitatomoya
Copy link
Copy Markdown
Collaborator

aligned with ros2/rcl#963 and ros2/rclcpp#1893

Signed-off-by: Tomoya Fujita Tomoya.Fujita@sony.com

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@ivanpauno @sloretz could you take a look?

CC: @mauropasse

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya fujitatomoya force-pushed the topic-20220308-time_until_next_call branch from cfba2b9 to 53a215e Compare March 10, 2022 19:41
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
@fujitatomoya fujitatomoya force-pushed the topic-20220308-time_until_next_call branch from 53a215e to 159c95c Compare March 10, 2022 19:47
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@sloretz @ivanpauno friendly ping.

Copy link
Copy Markdown
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

i do not see failure https://ci.ros2.org/job/ci_linux/16309/console on my local environment, but i think header is missing in hpp file.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-Authored-By: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

windows failure is unrelated to this fix.

@fujitatomoya fujitatomoya merged commit 1b8cacf into ros2:master Mar 11, 2022
apockill pushed a commit to apockill/rclpy that referenced this pull request Mar 16, 2022
* time_until_next_call returns None if timer is canceled.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-Authored-By: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Alex Thiel <apocthiel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants