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
What is neighbours_distance ? #168
Comments
Hi @BedirhanKeskin ,
It is used in other work, namely one of our previous paper and it is nothing to do with Lidar. Maybe we should remove it to avoid confusion. Thanks! |
Oh though we should probably not discuss it here, I remember you are working on Multi-agent MetaDrive and please make sure to pull latest MetaDrive. This is because we recently identify a bug that might hurt multi-agent training. See #161 for details. Thanks! |
Thank you!! Best Regards, |
That's correct.
The Lidar module will send (by default) 240 lasers, all centered at current ego vehicle's center. Each this laser has 40 meters length at most if it does not shot any object. Otherwise the laser has the length = distance to nearest obstacle. The Lidar module will return a 240-dim vector, rescaled to [0, 1] but has the physical range [0, 40m], representing the shortest distance to the obstacle at the corresponding direction at each angle. Note that in MARL env, the number of lasers is 70. |
Thanks for the great explanation!! |
Hello,
What is the neighbours_distance and difference with the distance definition inside Lidar?
They are inside MULTI_AGENT_METADRIVE_DEFAULT_CONFIG
I guess the unit is in meters?
``
The text was updated successfully, but these errors were encountered: