huawei-noah / SMARTS

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

[Help Request] Get the states of the vehicle behind ego vehicle in the neighborhood lane. #2157

Open DailyL opened 3 weeks ago

DailyL commented 3 weeks ago

High Level Description

I want to implement the MOBIL lane change model for my ego agent in SMART, but it requires the nearest neighbors in the target lane. Can one get the states of the surrounding vehicles (SVs) behind our ego vehicle in the neighborhood lane (identify which vehicle is behind our ego vehicle and calculate the distance to our ego vehicle considering the curvature of road), I can just identify which lane the SVs are, and the SVs in front of ego vehicle with the help of waypoints. Thank you very much for your help!

Version

master

Operating System

ubuntu 20.04

Problems

No response