-
Notifications
You must be signed in to change notification settings - Fork 650
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
Trajectory planning for long vehicles not working properly #2182
Comments
I think the current solution was to extend the drivable area to the opposite lane. P.S. |
Hi @WJaworskiRobotec On the other hand, the feature to expand the drivable area statically already exists. The feature expands the width of the drivable area in module autoware.universe/planning/behavior_path_planner/config/drivable_area_expansion.yaml Lines 1 to 20 in f1efcc2
FYI: |
Paths to cover as the first step are defined here : autowarefoundation/autoware-projects#45 |
Here are my inputs/thoughts about the issue if this temp solution is used for this turn:
model_base_link_offset.mp4@WJaworskiRobotec If these are not my mistake I guess an issue should be created about it.
annotating_road_borders.mp4
@maxime-clem Is this done intentionally? If not shall we create a PR where all the modules use road_border arg as default to skip the expansion? Edit: This issue solved with #2288. Should be fine after this PR is merged.
side_out.mp4In the video you will see that side of the vehicle is outside of drivable_area, yet it doesn't stop. It is because in obstacle_avoidance_module only the corners are checked if they are out or not. This issue is known and worked on in #1999 and will be merged soon hopefully. However it is possible to handle the turns better since there is lots of space available yet we are not able to turn safely. It can be accomplished by enabling the parameter kinematics.optimization_center_offset and assigning Results after changing the optimization center: optimization_center.mp4 |
I agree with this idea. |
You are right and this is something I overlooked in my previous PR. I will prepare a new PR to fix this. |
Checklist
Description
While testing of ITRI Bus on ITRI campus in AWSIM, I've discovered that the planner does not work properly for planning of turns for long vehicles. As can be noticed on the screenshot below, the bus is trying to "cut" the right turn by driving on the sidewalk. I know that there were seperate issues/discussions about expanding drivable area, but in this case we should think about different trajectory planning algorithm considering the dimensions of the vehicle. In reality, long vehicles like buses drive more to the outer part of the road, to avoid driving on the sidewalk.
The same behavior was observed in the planning_simulator, so it's not related to AWSIM:
Used vehicle model :
https://github.com/autowarefoundation/cbus_vehicle_launch
Location of the observed problem:
EDIT:
After more investigation, it looks like the problem can be solved by modifying drivable area (https://github.com/orgs/autowarefoundation/discussions/2851). Anyway, I believe that to make it possible for longer vehicles to behave properly, in some cases the drivable area should be even moved away from inner turn radius (in current logic the negative value of bound_offset)
Expected behavior
Bus properly driving on the entire map of ITRI campus.
Actual behavior
Bus gets stuck on the right turns.
Steps to reproduce
Versions
No response
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: