Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time_until_next_call returns max if timer is canceled. #910

Merged

Conversation

fujitatomoya
Copy link
Collaborator

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

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

@fujitatomoya
Copy link
Collaborator Author

@ivanpauno @sloretz could you take a look?

CC: @mauropasse

@fujitatomoya
Copy link
Collaborator Author

CI:

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

rclpy/test/test_timer.py Outdated Show resolved Hide resolved
@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
Collaborator Author

CI:

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

@fujitatomoya
Copy link
Collaborator Author

@sloretz @ivanpauno friendly ping.

Copy link
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!

rclpy/test/test_timer.py Outdated Show resolved Hide resolved
@fujitatomoya
Copy link
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
Collaborator Author

CI:

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

@fujitatomoya
Copy link
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.

None yet

3 participants