-
Notifications
You must be signed in to change notification settings - Fork 682
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
behavior_path_planner generating invalid path orientation #2125
behavior_path_planner generating invalid path orientation #2125
Comments
@beyzanurkaya Can I ask more about the situation. |
@takayuki5168 In our situation lateral deviation must be less than |
@beyzanurkaya Maybe I got it.
This 2.0 makes the vehicle moves laterally compared to path from behavior. Is there any reason for this tuning? |
I used these values to replicate this bug in planning.simulator |
Hi, I asked Beyza to create a PR about a problem we encountered during tests. To make it easier to reproduce she increased the mpt optimization circle ratio however we don't use this params. The params we use for mpt is as follows: mpt:
bounds_search_widths: [0.45, 0.15, 0.05, 0.01]
clearance: # clearance(distance) between vehicle and roads/objects when generating trajectory
hard_clearance_from_road: 0.01 # clearance from road boundary[m]
soft_clearance_from_road: 0.15 # clearance from road boundary[m]
soft_second_clearance_from_road: 0.15 # clearance from road boundary[m]
clearance_from_object: 0.5 # clearance from object[m]
extra_desired_clearance_from_road: 0.0 # extra desired clearance from road vehicle_circles:
method: "uniform_circle"
uniform_circle:
num: 3
radius_ratio: 1.13 The reason why we are using this kind of tuning is that the campus has some 90 deg turns and mpt is not able to optimize most of the time inside the drivable area if you dont increase the clearances from road and if you dont make the circles bigger. That is the reason why the bus deviates from path that much so it would be partially on the other lane. And I have some solutions in my mind about this issue to propose. However regardless of this issue I mention above, path planner should not be able to plan a path where there is nearly 180 degrees deviation from the path. So this issue aims to fix that problem actually :) |
@mehmetdogru I understand. Thank you for your explanation. FYI: This PR enables drivable area expansion in behavior path planner. After this PR is merged, maybe better to use this instead of clearance in mpt.
Avoidance module in behavior path planner has such a kind of function. This parameter should be added to drivable area expansion. Line 11 in c1e3126
|
Currently @mehmetdogru and @beyzanurkaya are looking for alternative solutions for this issue. |
@mehmetdogru and @beyzanurkaya Any updates on this? |
We don't have any updates on this one for now unfortunately. |
Working on an approach, I am running some tests on it, I will create a PR. |
@takayuki5168 I couldn't reproduce this issue. Has any improvement been made about this issue? |
@beyzanurkaya As long as I know, there isn't any update on this issue. |
@mitsudome-r since to solve the issue, #2732 should be merged, I will be reopening the issue. |
Checklist
Description
When the vehicle passes into the other lane for a reason such as trying to swerve an obstacle while driving in its own lane, an invalid path occurs and the vehicle stops. In order to avoid such situations, it should be checked whether the path created by
behavior_path_planner
is valid.vokoscreen-2022-10-20_12-39-56.mp4
Expected behavior
It is necessary to check that the path occurred by the
behavior_path_planner
is valid and that the ego can drive. So that invalid routes are prevented from being occurred. The updated path must be generated as a path that the ego can drive.Actual behavior
The yaw angle between the path and the vehicle's self pose is not controlled. So that invalid paths can be occurred and vehicle stops.
Steps to reproduce
rear_drive/front_radius_ratio
andrear_drive/rear_radius_ratio
values to 2.0 inobstacle_avoidance_planner.param.yaml
file.threshold_distance_object_is_on_center
to 0.001 inavoidance.param.yaml
.expand_drivable_area
to true,left_bound_offset
to 1.9 inlane_following.param.yaml
ros2 launch scenario_test_runner scenario_test_runner.launch.py sensor_model:=sample_sensor_kit vehicle_model:=isuzu_vehicle \ scenario:=/scenario/path/case1.yaml \ architecture_type:=awf/universe launch_rviz:=false launch_autoware:=true
The text was updated successfully, but these errors were encountered: