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

SingleThreadedExecutor::spin_once_until_future_complete continues to spin even if future is completed #989

Closed
fujitatomoya opened this issue Aug 11, 2022 · 1 comment · Fixed by #1143
Assignees

Comments

@fujitatomoya
Copy link
Collaborator

Bug report

Required Info:

  • Operating System:
    • Ubuntu 22.04
  • Installation type:
    • source build
  • Version or commit hash:
  • DDS implementation:
    • Any (Fast-RTPS, RTI Connext)
  • Client library (if applicable):
    • rclpy

Expected behavior

SingleThreadedExecutor::spin_once_until_future_complete should return if the future is completed

Additional information

def spin_once_until_future_complete(self, future: Future, timeout_sec: float = None) -> None:
self.spin_once(timeout_sec)

@130s
Copy link

130s commented May 4, 2023

I'm unsure if this is related but me and some others saw an issue with spin_once_until_future_complete in answers.ros.org#386260 (I do not say we confirmed it as a bug).

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 a pull request may close this issue.

3 participants