huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving
MIT License
925 stars 186 forks source link

Add lane error penalty #2030

Closed Adaickalavan closed 1 year ago

Adaickalavan commented 1 year ago

Here, the goal is on lane 0 but ego terminates on lane 2.

end_episode

Changes made:

  1. RoadMap.Route now optionally stores the start and end lanes of the route.
  2. DistToDestination metric now adds lane error penalty when agent terminates in different lane but same road as the goal position.