-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix/interpreter/user defined value condition #1338
Merged
yamacir-kit
merged 9 commits into
master
from
fix/interpreter/user-defined-value-condition
Aug 23, 2024
Merged
Fix/interpreter/user defined value condition #1338
yamacir-kit
merged 9 commits into
master
from
fix/interpreter/user-defined-value-condition
Aug 23, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
yamacir-kit
added
bug
Something isn't working
bump patch
If this pull request merged, bump patch version of the scenario_simulator_v2
labels
Aug 5, 2024
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
…ocal Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
…r-defined-value-condition
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
HansRobo
approved these changes
Aug 23, 2024
github-actions
bot
deleted the
fix/interpreter/user-defined-value-condition
branch
August 23, 2024 03:20
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
bump patch
If this pull request merged, bump patch version of the scenario_simulator_v2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Abstract
The following two issues have been addressed:
Background
The above issues were observed in a scenario where a large number of UserDefinedValueCondition were used.
Details
The causes of each problem were as follows:
The first problem was caused by the implementation of UserDefinedValueCondition, which had one thread and two ROS nodes per instance. Therefore, we changed the implementation to use one common thread and node for this condition, regardless of the number of UserDefinedValueCondition instances.
The second problem was caused by the simulator's ROS 2 topic subscriber dropping messages that were published before the standby when the standby of the simulator's ROS 2 topic subscriber was later than Autoware's publishers could publish the topic. In this case, a large number of UserDefinedValueCondition overloaded the simulator and delayed the standby of the Subscriber. In addition, the dropped message was one of the most important topics for the simulator to set up Autoware, and it was a message that would only be published once. Fortunately, the topic was provided with a publisher set to transient local in quality of service, so we took care of it by upgrading the subscriber's quality of service to transient local.
References
Destructive Changes
None.
Known Limitations
None.