Skip to content

How to get the precise distance to the front vehicle in the same lane? #860

@hjg857

Description

@hjg857

Hello, I am working on integrating a safety model (RSS) into an agent trained in MetaDrive. To calculate the required safe distance, I need to reliably obtain two key pieces of information in every step:

1.The distance from the ego vehicle to the closest front vehicle in the same lane.

2.The relative speed between the ego and that front vehicle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions