-
Notifications
You must be signed in to change notification settings - Fork 676
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(goal_planner): introduce bezier based pullover for bus stop area #10005
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
68e55c7
to
f379bd8
Compare
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
f379bd8
to
20eb08d
Compare
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
} | ||
} | ||
|
||
void LaneParkingPlanner::shift_planning_helper( |
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.
this helper is not only for shift. geometric_pull_over is also called in this helper
for (const auto & planner : pull_over_planners_) {
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.
fixed in bc8f304
Signed-off-by: Mamoru Sobue <[email protected]>
...behavior_path_planner/autoware_behavior_path_goal_planner_module/src/goal_planner_module.cpp
Show resolved
Hide resolved
@@ -130,6 +130,10 @@ | |||
neighbor_radius: 8.0 | |||
margin: 1.0 | |||
|
|||
bezier_parking: | |||
pull_over_azimuth_threshold: 0.5 |
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.
nits:
when I hear azimuth
in autoware I image
/**
* @brief calculate azimuth angle of two points.
* @details This function returns the azimuth angle of the position of the two input points
* with respect to the origin of their coordinate system.
* If x and y of the two points are the same, the calculation result will be unstable.
* @param p_from source point
* @param p_to target point
* @return -pi < azimuth angle < pi.
*/
double calcAzimuthAngle(
const geometry_msgs::msg::Point & p_from, const geometry_msgs::msg::Point & p_to)
{
const double dx = p_to.x - p_from.x;
const double dy = p_to.y - p_from.y;
return std::atan2(dy, dx);
}
but here azimuth is two pose orientaion diff.
add explanation or rename it
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.
fixed in bc8f304
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
aa4a933
to
f01e280
Compare
todo
|
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
Description
if use_bus_stop_area = true, bezier_planner starts working and feasible path is found (if false, only shift planner works and no candidate paths are generated)
before-2025-01-22_16.56.03.mp4
before-2025-01-22_17.11.52.mp4
launcher: autowarefoundation/autoware_launch#1308
Related links
https://tier4.atlassian.net/browse/RT1-8337
Parent Issue:
Link
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.