-
Notifications
You must be signed in to change notification settings - Fork 667
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
feat(map_based_prediction): remove crossing fence path #5356
feat(map_based_prediction): remove crossing fence path #5356
Conversation
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
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.
LGTM. You can ignore my comments if you do not like it.
predicted_objects.objects.end()); | ||
} | ||
|
||
bool MapBasedPredictionNode::crossWithFence(const PredictedPath & predicted_path) |
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.
[imo] I prefer more specific function name.
bool MapBasedPredictionNode::crossWithFence(const PredictedPath & predicted_path) | |
bool MapBasedPredictionNode::doesPathCrossAnyFence(const PredictedPath & predicted_path) |
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.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5356 +/- ##
==========================================
- Coverage 14.77% 14.76% -0.01%
==========================================
Files 1662 1662
Lines 115385 115394 +9
Branches 35616 35610 -6
==========================================
- Hits 17043 17039 -4
- Misses 79118 79132 +14
+ Partials 19224 19223 -1
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
a57671d
into
autowarefoundation:main
…ation#5356) * remove crossing fence path Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> --------- Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
feat(map_based_prediction): remove crossing fence path (autowarefoundation#5356)
[universe] 33dbaa4 feat(tier4_perception_launch): make switchable detection by tracker in x2 project (autowarefoundation#964) 940fb2b Merge pull request autowarefoundation#965 from tier4/beta/v0.11.0+PR5356 5aa9db1 feat(map_based_prediction): remove crossing fence path (autowarefoundation#5356) [common] c3a1a19 fix(visualization): display traffic reg elem id (autowarefoundation#210) 36b3825 feat(lanelet2_extention): add getAllFences (autowarefoundation#209) 44dc388 docs(lanelet2_extension): add brief description for crosswalk traffic light (autowarefoundation#208) c360614 feat(lanelet2_extensions): add query curbstones from vector map (autowarefoundation#206) [launcher] a2f88f00 feat(autoware_launch): longer prediction 15.0 -> 20.0 (autowarefoundation#482) 87974c0f fix: fix stop_duration_sec param for merge_from_private (autowarefoundation#516) f5a1dfad fix(autoware_launch): fix parameter for light weight grand segmentation (autowarefoundation#506)
Description
The change of the PR is necessary.
🤖 Generated by Copilot at 3b8af4f
This pull request enhances the
map_based_prediction
module by adding new functions and comments tomap_based_prediction_node.cpp
andmap_based_prediction_node.hpp
. The new functions filter out predicted pedestrian paths that cross with fences on the lanelet map, using geometry utilities and map information. This improves the accuracy and safety of the prediction module.If a predicted path for a pedestrian is generated that passes through a crosswalk and cross across a fence, do not output that path.
Also, I have added some minor comments and would appreciate any feedback.
Tests performed
Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.