-
Notifications
You must be signed in to change notification settings - Fork 668
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(behavior_path_planner): add occupancy_grid_based_collision_detector #1259
feat(behavior_path_planner): add occupancy_grid_based_collision_detector #1259
Conversation
59d4173
to
5db0d63
Compare
@@ -0,0 +1,205 @@ | |||
// Copyright 2021 Tier IV, Inc. All rights reserved. |
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.
Tier IV -> TIER IV
@@ -0,0 +1,147 @@ | |||
// Copyright 2021 Tier IV, Inc. All rights reserved. |
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.
Tier IV -> TIER IV
...ehavior_path_planner/include/behavior_path_planner/occupancy_grid_map/occupancy_grid_map.hpp
Outdated
Show resolved
Hide resolved
With #873 , 2022-07-07-09-37-48.mp4e |
return pose_local; | ||
} | ||
|
||
geometry_msgs::msg::Pose global2local( |
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.
please consider using free space planner's package
autoware.universe/planning/freespace_planning_algorithms/src/abstract_algorithm.cpp
Line 35 in 1bab84e
int discretizeAngle(const double theta, const int theta_size) |
or make library later to reduce maintenance cost.
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.
Yes, I want to make it common since it is almost the same.
Currently, It can't include free_space_planner in behavior_path, so it is like a duplicate. I would like to leave it as it is this time...
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.
Then Please add comment TODO that this is duplicated and will be replaced to common package
this occ grid is only for pull over? |
@yukkysaito |
@kosuke55 I wanna discuss the directory structure and name about occ grid. |
ff212ea
to
5957d4d
Compare
Codecov Report
@@ Coverage Diff @@
## main #1259 +/- ##
========================================
- Coverage 9.72% 9.64% -0.08%
========================================
Files 1073 1078 +5
Lines 73996 74581 +585
Branches 16304 16624 +320
========================================
Hits 7195 7195
- Misses 60214 60793 +579
- Partials 6587 6593 +6
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
c758bd2
to
319e157
Compare
@yukkysaito |
319e157
to
3c3ea26
Compare
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
4035c10
to
2912b92
Compare
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
2912b92
to
98efbff
Compare
…tor (#1259) * feat(behavior_path_planner): add occupancy_grid_based_collision_detector Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * modify copyright Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * move occ and path_shifter to utils Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix humble werror Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix precomit Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…tor (tier4#1259) * feat(behavior_path_planner): add occupancy_grid_based_collision_detector Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * modify copyright Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * move occ and path_shifter to utils Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix humble werror Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix precomit Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…tor (tier4#1259) * feat(behavior_path_planner): add occupancy_grid_based_collision_detector Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * modify copyright Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * move occ and path_shifter to utils Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix humble werror Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix precomit Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…tor (tier4#1259) * feat(behavior_path_planner): add occupancy_grid_based_collision_detector Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * modify copyright Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * move occ and path_shifter to utils Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix humble werror Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix precomit Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…tor (autowarefoundation#1259) * feat(behavior_path_planner): add occupancy_grid_based_collision_detector Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * modify copyright Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * move occ and path_shifter to utils Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix humble werror Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix precomit Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…tor (tier4#1259) * feat(behavior_path_planner): add occupancy_grid_based_collision_detector Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * modify copyright Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * move occ and path_shifter to utils Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix humble werror Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * fix precomit Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…et prev_state_stop when using time to red signal (autowarefoundation#1259) * fix(behavior_velocity_traffic_light): stop when the signal is timed out Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> * fix(behavior_velocity_traffic_light): set prev_state_stop when using time to red signal Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> --------- Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
Description
Add occupancy_grid_map used for processes(like collision check) in behavior_path_planner
This is the part of #873
This class is almost same to https://github.com/autowarefoundation/autoware.universe/blob/main/planning/freespace_planning_algorithms/src/abstract_algorithm.cpp
collision check
https://user-images.githubusercontent.com/39142679/177531965-ecf93ffb-26c6-491c-8506-936797fa4a97.mp4
Related links
depends on #1257
#873
Tests performed
check pull_over module #873 can work.
Notes for reviewers
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.