Skip to content
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

fix(route_handler): creating route at parking lot #8906

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ismetatabay
Copy link
Member

@ismetatabay ismetatabay commented Sep 18, 2024

Description

At current autoware, the parking scenario cannot initiate sometimes due to route cannot be planned between ego lanelet and closest lanelet to goal pose. However since ego vehicle and goal pose in same parking lot area, we don't need to reject goal due to path planning.

This PR checks whether the start and goal poses are in the same parking lot and sends the start lanelet as the path to initiate other nodes, as a full path is not necessary for freespace planning.

Related links

Parent Issue:

How was this PR tested?


Map File

lanelet2_map.txt


Psim

Before this PR:

2024-09-18.17-07-49.mp4

After this PR:

2024-09-18.17-11-05.mp4

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

autoware_remaining_distance_time_calculator package fails to calculate the time since the package cannot find a route between start and goal lanelet:

const lanelet::Optional<lanelet::routing::Route> optional_route =
routing_graph_ptr_->getRoute(current_lanelet, goal_lanelet, 0);
if (!optional_route) {
RCLCPP_WARN_STREAM(this->get_logger(), "Failed to find proper route.");
return;
}

I am planning to create another PR to disable time calculation in the parking scenario, as the calculation no required during freespace driving.

Signed-off-by: ismetatabay <[email protected]>
Signed-off-by: ismetatabay <[email protected]>
@ismetatabay ismetatabay added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Sep 18, 2024
@ismetatabay ismetatabay self-assigned this Sep 18, 2024
Copy link

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@ismetatabay ismetatabay linked an issue Sep 19, 2024 that may be closed by this pull request
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parking Scenario Cannot Initiate Sometimes Due to Route Handler
1 participant