-
Notifications
You must be signed in to change notification settings - Fork 67
Use realistic LiDAR position in simple_sensor_simulator #1235
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
Draft
f0reachARR
wants to merge
8
commits into
master
Choose a base branch
from
fix/lidar-position-reality
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5
−4
Conversation
This file contains hidden or 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
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
f35d70d to
1146f91
Compare
|
|
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
Fixes for #1193
Background
As I mentioned at #1227, LiDAR origin passed to Raycaster is too low (Ego bottom), and it detects objects that should be occluded.
Details
To make LiDAR realistic, this PR will change LiDAR position to top of the Ego vehicle.
Before

After

In the images, pink points are LiDAR scan.
Before this PR, LiDAR is located on the bottom of the vehicle and reads the pedestrian's feet. This is not realistic and detects some objects that should be occluded.
The after image shows that the pedestrian is occluded by npc1 and does not appear in the LiDAR scan results.
Note
In some cases, OccupancyGridSensor emits objects that we thought it was occluded (like images on #1193). This is because simulator converts three dimensions into two-dimensional information.
As research of Autoware probabilistic_occupancy_grid_map, such situation can be happen in real sensor.
In order to mimic Autoware's behavior, I have not excluded such cases.
Destructive changes
LiDAR is repositioned to the top of vehicle.
Because of this change, errors may be seen in some scenarios. Regression test is needed.