-
Notifications
You must be signed in to change notification settings - Fork 673
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
Can not give a new goal behind in the same lane #1715
Comments
This is a known limitation in the current planning stack. |
@TakaHoribe ping. |
@mitsudome-r @beyzanurkaya If someone can fix the issue, we can support it.
|
@takayuki5168
Even though this works at this level, there is another problem later in the I am a bit puzzled by the purpose of the |
I figured out the SummaryTo support this use case, I had to modify the 2 packages:
The tricky part is how to make the difference between the starting lanelet and goal lanelet (when they are the same). The only thing that changes is the position of the ego vehicle. As a consequence, any function involved in building the path, or querying whether a lanelet is the start or goal lanelet must use this extra information. Concretely, I replaced most I have not done it yet, but if you follow the same logic it would make also more sense not to use I can make a PR for this. Unless someone else has a better idea? |
-> #2424 |
I'll close this since it is now being worked on #2354 |
Checklist
Description
if you give EGO vehicle an initial pose and a goal pose in a lane with the same
lane_id
, but there is no lane with a differentlane_id
between the initial and goal pose, a regular route is created. However, if you give EGO vehicle an initial pose and a goal pose in a lane with the samelane_id
, but this time there is a lane with a differentlane_id
between the initial pose and the goal pose, a strange route occurs. Moreover, it is possible for EGO to reach its goal pose from the point where it was in the second case.Expected behavior
Actually it is possible to reach the goal pose given -according to the lane directions- of EGO from the point where it is. Therefore, a route should have been created as follows:
Actual behavior
There is no realistic route that the vehicle can follow. A route is created as follows:
Steps to reproduce
Download 1715.txt and 1715-2.txt
Download sample-map in here
Change file extention from txt to yaml
Change pcd and lanelet2 maps file path in yaml files
run
ros2 launch scenario_test_runner scenario_test_runner.launch.py sensor_model:=sample_sensor_kit vehicle_model:=sample_vehicle \ scenario:=/scenario/path/1715.yaml \ architecture_type:=awf/universe launch_rviz:=false launch_autoware:=true
Add
/planning/scenario_planning/lane_driving/trajectory
topic in rvizWhen you run the scenario, path occurred correctly.
run
ros2 launch scenario_test_runner scenario_test_runner.launch.py sensor_model:=sample_sensor_kit vehicle_model:=sample_vehicle \ scenario:=/scenario/path/1715-2.yaml \ architecture_type:=awf/universe launch_rviz:=false launch_autoware:=true
Add
/planning/scenario_planning/lane_driving/trajectory
topic in rvizWhen you run second scenario, path doesn't occurred correctly.
Versions
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: