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

refactor: force ros2_timeout and agnocast_timeout to be equal #511

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

atsushi421
Copy link
Contributor

@atsushi421 atsushi421 commented Mar 11, 2025

Description

This forces ros2_timeout and agnocast_timeout to be equal for fairness scheduling in MultiThreadedAgnocastExecutor.

Related links

How was this PR tested?

  • Autoware (required) -> Skipped, because this doesn't change the behavior.
  • bash scripts/e2e_test_1to1_with_ros2sub (required)
  • bash scripts/e2e_test_2to2 (required)
  • sample application

Notes for reviewers

RCLCPP_ERROR(
logger,
"If `ros2_next_exec_timeout` is set to infinite, ros2 callbacks which share the callback "
"group "
"If `timeout` is set to infinite, ros2 callbacks which share the callback group "
Copy link
Contributor

Choose a reason for hiding this comment

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

このコメントって今も正しいんでした?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

正しく無いかもです。そして、実装変更した方が良い箇所を見つけたので、少々お待ちください。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

修正しました!8ebcaa2

実装変更は別でやります。

@atsushi421 atsushi421 marked this pull request as draft March 12, 2025 01:55
@atsushi421 atsushi421 marked this pull request as ready for review March 12, 2025 08:53
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.

2 participants