Skip to content

Trajectory planning for long vehicles not working properly #2182

Closed
@WJaworskiRobotec

Description

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

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.

ITRI_AWSIM

The same behavior was observed in the planning_simulator, so it's not related to AWSIM:

ITRI_planning_sim

Used vehicle model :
https://github.com/autowarefoundation/cbus_vehicle_launch

Location of the observed problem:

Screenshot from 2022-11-07 10-25-50

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

  1. Run planning simulator with ITRI map and cbus_vehicle
  2. Set the goal poses to follow demo route 2 defined for ITRI project : link

Versions

No response

Possible causes

No response

Additional context

No response

Metadata

Labels

component:planningRoute planning, decision-making, and navigation. (auto-assigned)priority:highHigh urgency and importance.

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions