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

I have found a bug in line 352 in behavior_pah_planner_node.cpp #9826

Open
3 tasks done
zhmman opened this issue Jan 5, 2025 · 2 comments
Open
3 tasks done

I have found a bug in line 352 in behavior_pah_planner_node.cpp #9826

zhmman opened this issue Jan 5, 2025 · 2 comments
Assignees
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned)

Comments

@zhmman
Copy link

zhmman commented Jan 5, 2025

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

352

Expected behavior

hi dear:
when i run planning simulation,the first set goal position, the autoware.universe can router set and run correctly. but when i set positioh secondly, which router set and run correctly again

Actual behavior

when i run planning simulation,the first set goal positon, the autoware.universe can router set and run correctly. but when i set positioh secondly, which can not router .

Steps to reproduce

run planning simulation ,set goal position push auto button. set goal position again.

Versions

No response

Possible causes

i have found in line 352 in behavior_pah_planner_node.cpp
change
if (!is_first_time && !has_same_route_id) {
to
if (!is_first_time && has_same_route_id) {

Additional context

No response

@amadeuszsz amadeuszsz added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jan 6, 2025
@kosuke55
Copy link
Contributor

kosuke55 commented Jan 6, 2025

thank you for your report and suggestion.
we can change route with second goal when ego vehicle stops.

image
image

run planning simulation ,set goal position push auto button. set goal position again.

you tried to put the second goal while the vehicle is driving? It is not allowed.

[service_log_checker_node-5] [ERROR 1736149893.931478769] [system.service_log_checker]: /api/routing/clear_route: status code 50000 'The route cannot be cleared while it is in use.' (/default_ad_api/helpers/routing_adaptor) (set_error() at /home/kosuke55/pilot-auto/src/autoware/universe/common/autoware_component_interface_tools/src/service_log_checker.cpp:86)

putting goal with rviz calls /api/routing/set_route_points. but it is not allowed to reroute.
we can use /api/routing/change_route_points for rerouing while driving.

@zhmman
Copy link
Author

zhmman commented Jan 7, 2025 via email

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
Status: To Triage
Development

No branches or pull requests

3 participants