-
Notifications
You must be signed in to change notification settings - Fork 60
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/simple sensor simulator/custom noise #1200
Merged
HansRobo
merged 20 commits into
master
from
feature/simple_sensor_simulator/custom_noise
Mar 28, 2024
Merged
Feature/simple sensor simulator/custom noise #1200
HansRobo
merged 20 commits into
master
from
feature/simple_sensor_simulator/custom_noise
Mar 28, 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 <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
Signed-off-by: yamacir-kit <[email protected]>
…or_simulator/custom_noise
…or_simulator/custom_noise
…or_simulator/custom_noise
…or_simulator/custom_noise
…or_simulator/custom_noise
yamacir-kit
added
the
bump minor
If this pull request merged, bump minor version of the scenario_simulator_v2
label
Mar 26, 2024
HansRobo
approved these changes
Mar 28, 2024
github-actions
bot
restored the
feature/simple_sensor_simulator/custom_noise
branch
March 28, 2024 09:06
github-actions
bot
deleted the
feature/simple_sensor_simulator/custom_noise
branch
March 28, 2024 09:07
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Added customization point
CustomNoiseApplicator
for Autoware developers to implement a method for calculating the positional noise thatsimple_sensor_simulator
'sDetectionSensor
applies todetected_objects
.This pull request also includes the following three bug fixes found in its implementation.
detected_objects
to be published from the start of the simulation until the number of seconds set for the sensor's recognition delay time has elapsedIn addition, the process by which DetectionSensor lists entities that are within the sensor's range was extremely inefficient and was refactored.
Background
The developer of Autoware asked us to try an arbitrary method of applying position noise for planner development, such as "increasing the position noise according to the distance between Autoware and the recognition target". In order to make it easy for them to do this, it became necessary to provide a customization point that would allow them to easily replace the existing default noise application functionality while keeping it in place.
Details
DefaultNoiseApplicator and CustomNoiseApplicator
The
DefaultNoiseApplicator
implements conventional noise handling and theCustomNoiseApplicator
inherits it.DetectionSensor<>::update
usesCustomNoiseApplicator
, butCustom
only inherits fromDefaultNoiseApplicator
and does not define any member functions, so the actual work is done byDefaultNoiseApplicator
.And (as the comments in the code indicate) the contents of the
CustomNoiseApplicator
are intended to be implemented by Autoware developers as needed.Refactoring
The process by which DetectionSensor lists entities that are within range of the sensor originally looked like this:
The above has been changed by this pull request to "iterate (not copy) on non-Ego entities that are within a distance of X meters".