-
Notifications
You must be signed in to change notification settings - Fork 61
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
Feature/publisher with customizable randomizer #1503
Merged
yamacir-kit
merged 29 commits into
master
from
feature/publisher-with-customizable-randomizer
Feb 14, 2025
Merged
Feature/publisher with customizable randomizer #1503
yamacir-kit
merged 29 commits into
master
from
feature/publisher-with-customizable-randomizer
Feb 14, 2025
+769
−25
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>
…ry>` Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
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>
…ith-customizable-randomizer
…ith-customizable-randomizer
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>
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>
xtk8532704
reviewed
Feb 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!!
…ith-customizable-randomizer 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>
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
HansRobo
approved these changes
Feb 13, 2025
Signed-off-by: yamacir-kit <httperror@404-notfound.jp>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bump minor
If this pull request merged, bump minor version of the scenario_simulator_v2
feature
New feature or request
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
This pull request adds the ability to randomize the value of any field in messages published by the
concealer
publisher.Additionally, a launch argument
parameter_file_path
has been added toscenario_test_runner
that accepts the path to the ROS 2 parameter file to specify the parameters to be given to the randomizer.Background
Previously, scenario_simulator_v2 could randomize some of the perception-related messages it published to Autoware (which is the responsibility of
simple_sensor_simulator
), but not the localization-related ones (which is the responsibility ofconcealer
).Recently, the Autoware development team requested the ability to randomize odometry out of localization, so we have implemented this and added a comprehensive parameter file to specify the parameters to be given to such a functionality.
Details
In this pull request, the randomizer is only enabled for those related to odometry.
The Localization topic randomizer can be configured from the ROS 2 parameter file given to the launch argument
parameter_file_path
of scenario_test_runner. The default value ofparameter_file_path
is the path to the sample parameter file.The parameter file was designed with the intention that in the future it will comprehensively handle the parameters given to the
simple_sensor_simulator
and theconcealer
handling publishers and subscribers. This includes parameters related to perception, which are currently specified by Properties in the OpenSCENARIO XML scenario file. Therefore, the parameter file includes information such asarchitecture_type
values, message type names, topic type names, and other information that may be needed in the future (some of which is not used in this pull request).References
None.
Destructive Changes
None.
Known Limitations
None.