ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Autoware Open Planner global path and local path replan issue

asked 2021-06-15 23:57:38 -0500

yougeyxt gravatar image

updated 2021-06-16 20:21:21 -0500

Hi all,

I am using the Autoware 1.13 Release + Open Planner. I have some questions regarding to the replanning mechanism of global path and local path. When I initialize the ego-vehicle for the first time, the global path and local path can be successfully planned and tracked. However, when the ego-vehicle is reinitialized, it seems the global path did not replanned (I expect it to replan from the new position to the goal). The local path seems replanned but the selected path (in my understanding are those green circles shown in the RViz) are not correctly selected from the newly planned local path but from the previously local paths. My questions can be better illustrated in the video. Please let me know if I did not make myself clear.

Another two minor issues:

  1. Some red dots (the potential conflicts) with other vehicles did not disappear. I also find this situation for some of the green circles (the selected path).
  2. Some local paths rollouts did not disappear even when the ego-vehicle has already passed the position.

In the simulation, I find that the ego-vehicle behavior state is not GOAL_STATE but still FORWARD_STATE when it reached the destination (although there is still a small distance but the ego-vehicle did not move so I assume it has reached it?) as shown below: image description

Any comments and suggestions are appreciated. Thanks!

edit retag flag offensive close merge delete

Comments

Hi @Hatem, could you please take a look on this? Thanks :)!

yougeyxt gravatar image yougeyxt  ( 2021-06-15 23:59:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-16 07:32:16 -0500

Hatem gravatar image

Marker visualization is a problem in rviz, you can check visualize function in behavior_selector. I just refresh from rviz to remove the old data !

Global planner doesn't re-plan when you change the initial position , you have to restart the global planner node.

And also you need to restart the local planning nodes when you change.

The instant teleportation behavior for the ego vehicle is not supported in openplanner. :)

edit flag offensive delete link more

Comments

1

Hi Hatem,

Thanks for the answer!

  1. (Solved) Got it, so the left red dots and circles are just visualization issue and will not influence the future planning.

  2. Got it, the instant teleportation behavior is not supported. A follow up question is that, if the ego-vehicle deviate from the original planned global path, for example say we originally planned a path but we manually drive it to another place and would like the ego-vehicle starts from this new initial position. In this case, the ego-vehicle is not instant teleportation, the global planner should re-plan (I assume it should re-plan continuously during the manual driving), is that correct?

  3. In the simulation, I find that the ego-vehicle behavior state is not GOAL_STATE but still FORWARD_STATE when it reached the destination (although there is still a small distance but the ego-vehicle did not move so I assume it has reached it?) as shown by ...

(more)
yougeyxt gravatar image yougeyxt  ( 2021-06-16 20:20:18 -0500 )edit

@yougeyxt Can you please writeup your solution as answer to let others know how you solved this issue?

jayess gravatar image jayess  ( 2021-06-16 21:24:21 -0500 )edit

Driving manually on any path and keep calling global planning is not feasible, global planner -depend on the size of your map- may take seconds to calculate. so this won't work as expected.

Advise: plan your route beforehand, start global planner, and drive manually following the generated global path.

About the goal state (end_state), it depends on several factors.

  • goal detection distance
  • deceleration and stopping distance
  • enable or disable re-planning parameter.
Hatem gravatar image Hatem  ( 2021-06-17 02:52:40 -0500 )edit

Got it. Thanks a lot!

yougeyxt gravatar image yougeyxt  ( 2021-06-17 10:25:00 -0500 )edit

@jayess Sure, no problem. But which issue you are mentioning? I raised two questions in the thread, the first one is about the "not disappering" red dots and selected paths. Based on Hatem's answer, it just visualization issue and just need to refresh it to clean old data (so currently I just let it be and did not try to solve it). The second problem is about the global path replanning, so my understanding is that the global path normally not replanned after setting it.

yougeyxt gravatar image yougeyxt  ( 2021-06-17 10:29:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-06-15 23:57:38 -0500

Seen: 565 times

Last updated: Jun 16 '21